Skip to content

Commit

Permalink
fix(notifications): fix reply visibility being PUBLIC no matter the s…
Browse files Browse the repository at this point in the history
…tatus being replied to
  • Loading branch information
LucasGGamerM committed Sep 17, 2023
1 parent 5cda112 commit 775f799
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ private void handleReplyAction(Context context, String accountID, Intent intent,
CreateStatus.Request req=new CreateStatus.Request();
req.status = initialText + input.toString();
req.language = preferences.postingDefaultLanguage;
req.visibility = preferences.postingDefaultVisibility;
req.visibility = (notification.status.visibility == StatusPrivacy.PUBLIC && GlobalUserPreferences.defaultToUnlistedReplies ? StatusPrivacy.UNLISTED : notification.status.visibility);
req.inReplyToId = notification.status.id;

if (notification.status.hasSpoiler() &&
Expand Down

0 comments on commit 775f799

Please sign in to comment.