Fixes notifications not setting their visibility.

This commit is contained in:
Vavassor 2017-07-16 19:56:26 -04:00
parent 3d074b10fb
commit 5257ecbfe2
2 changed files with 1 additions and 1 deletions

View file

@ -38,7 +38,6 @@ import com.keylesspalace.tusky.view.RoundedTransformation;
import com.keylesspalace.tusky.viewdata.NotificationViewData;
import com.keylesspalace.tusky.viewdata.StatusViewData;
import com.squareup.picasso.Picasso;
import com.varunest.sparkbutton.helpers.Utils;
import java.util.ArrayList;
import java.util.List;

View file

@ -37,6 +37,7 @@ public final class ViewDataUtils {
.setSpoilerText(visibleStatus.spoilerText)
.setRebloggedByUsername(status.reblog == null ? null : status.account.username)
.setUserFullName(visibleStatus.account.getDisplayName())
.setVisibility(visibleStatus.visibility)
.setSenderId(visibleStatus.account.id)
.setRebloggingEnabled(visibleStatus.rebloggingAllowed())
.createStatusViewData();