Restore mute in conversation menu.

fork-5.53.8
Alan Evans 2020-06-07 20:28:19 -03:00 zatwierdzone przez Greyson Parrelli
rodzic 4f4be44caa
commit f6637b7caf
1 zmienionych plików z 2 dodań i 4 usunięć

Wyświetl plik

@ -761,10 +761,8 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
inflater.inflate(R.menu.conversation_insecure, menu);
}
if (!FeatureFlags.newGroupUI()) {
if (recipient != null && recipient.get().isMuted()) inflater.inflate(R.menu.conversation_muted, menu);
else inflater.inflate(R.menu.conversation_unmuted, menu);
}
if (recipient != null && recipient.get().isMuted()) inflater.inflate(R.menu.conversation_muted, menu);
else inflater.inflate(R.menu.conversation_unmuted, menu);
if (isSingleConversation() && getRecipient().getContactUri() == null) {
inflater.inflate(R.menu.conversation_add_to_contacts, menu);