invalide options menu after pinning/unpinning. fixes #3745
This commit is contained in:
parent
dd0f354b62
commit
bfeebc141f
|
@ -1313,6 +1313,7 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke
|
||||||
final boolean pinned = conversation.getBooleanAttribute(Conversation.ATTRIBUTE_PINNED_ON_TOP, false);
|
final boolean pinned = conversation.getBooleanAttribute(Conversation.ATTRIBUTE_PINNED_ON_TOP, false);
|
||||||
conversation.setAttribute(Conversation.ATTRIBUTE_PINNED_ON_TOP, !pinned);
|
conversation.setAttribute(Conversation.ATTRIBUTE_PINNED_ON_TOP, !pinned);
|
||||||
activity.xmppConnectionService.updateConversation(conversation);
|
activity.xmppConnectionService.updateConversation(conversation);
|
||||||
|
activity.invalidateOptionsMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkPermissionAndTriggerAudioCall() {
|
private void checkPermissionAndTriggerAudioCall() {
|
||||||
|
|
Loading…
Reference in New Issue