feat(mute-conversations): also show mute conversation when your acct matches the mention acct

We all gotta love some edge cases
This commit is contained in:
LucasGGamerM 2023-09-20 08:42:52 -03:00
parent de7bc49f85
commit 56e752c0b3
1 changed files with 2 additions and 1 deletions

View File

@ -515,7 +515,8 @@ public class HeaderStatusDisplayItem extends StatusDisplayItem{
if(m==null)
return false;
return AccountSessionManager.get(item.parentFragment.getAccountID()).self.id.equals(m.id) ||
AccountSessionManager.get(item.parentFragment.getAccountID()).self.getFullyQualifiedName().equals(m.username);
AccountSessionManager.get(item.parentFragment.getAccountID()).self.getFullyQualifiedName().equals(m.username) ||
AccountSessionManager.get(item.parentFragment.getAccountID()).self.acct.equals(m.acct);
})));
menu.findItem(R.id.unmute_conversation).setVisible(item.status!=null && item.status.muted);
menu.findItem(R.id.open_in_browser).setVisible(!isPostScheduled && item.status!=null);