Fix issue #1161 - handle included twice when replying to a self user's boost

This commit is contained in:
Thomas 2025-03-31 08:33:27 +02:00
parent 2f663d1bd9
commit 62fe2cde10

View file

@ -669,7 +669,7 @@ public class ComposeActivity extends BaseActivity implements ComposeAdapter.Mana
mention.username = mentionBooster.username;
boolean present = false;
for (Mention mentionTmp : statusDraftList.get(0).mentions) {
if (mentionTmp.acct.equalsIgnoreCase(mentionBooster.acct)) {
if (mentionTmp.acct.equalsIgnoreCase("@"+mentionBooster.acct)) {
present = true;
break;
}