feat(Compose): exclude own account from reblog mentions
Excludes the users account from being automatically included when repplying to a status that has been bosted by the user. Fixes https://github.com/LucasGGamerM/moshidon/issues/548
This commit is contained in:
parent
d81eb6ad0a
commit
bd6f739842
1 changed files with 1 additions and 1 deletions
|
@ -787,7 +787,7 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr
|
|||
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))
|
||||
|
|
Loading…
Add table
Reference in a new issue