invalide options menu after pinning/unpinning. fixes #3745

This commit is contained in:
Daniel Gultsch 2020-05-19 19:38:36 +02:00
parent dd0f354b62
commit bfeebc141f
1 changed files with 1 additions and 0 deletions

View File

@ -1313,6 +1313,7 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke
final boolean pinned = conversation.getBooleanAttribute(Conversation.ATTRIBUTE_PINNED_ON_TOP, false);
conversation.setAttribute(Conversation.ATTRIBUTE_PINNED_ON_TOP, !pinned);
activity.xmppConnectionService.updateConversation(conversation);
activity.invalidateOptionsMenu();
}
private void checkPermissionAndTriggerAudioCall() {