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:
parent
de7bc49f85
commit
56e752c0b3
|
@ -515,7 +515,8 @@ public class HeaderStatusDisplayItem extends StatusDisplayItem{
|
||||||
if(m==null)
|
if(m==null)
|
||||||
return false;
|
return false;
|
||||||
return AccountSessionManager.get(item.parentFragment.getAccountID()).self.id.equals(m.id) ||
|
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.unmute_conversation).setVisible(item.status!=null && item.status.muted);
|
||||||
menu.findItem(R.id.open_in_browser).setVisible(!isPostScheduled && item.status!=null);
|
menu.findItem(R.id.open_in_browser).setVisible(!isPostScheduled && item.status!=null);
|
||||||
|
|
Loading…
Reference in New Issue