Skip to content

Commit

Permalink
feat(Compose): exclude own account from reblog mentions
Browse files Browse the repository at this point in the history
Excludes the users account from being automatically included when
repplying to a status that has been bosted by the user.

Fixes #548
  • Loading branch information
FineFindus committed Sep 23, 2024
1 parent d81eb6a commit bd6f739
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ public void getOutline(View view, Outline outline){
String ownID=AccountSessionManager.getInstance().getAccount(accountID).self.id;
if(!status.account.id.equals(ownID))
mentions.add('@'+status.account.acct);
if(status.rebloggedBy != null && GlobalUserPreferences.mentionRebloggerAutomatically)
if(GlobalUserPreferences.mentionRebloggerAutomatically && status.rebloggedBy != null && !status.rebloggedBy.id.equals(ownID))
mentions.add('@'+status.rebloggedBy.acct);
for(Mention mention:status.mentions){
if(mention.id.equals(ownID))
Expand Down

0 comments on commit bd6f739

Please sign in to comment.