From a5b3c579c4c37baed1db07f4558f53a197a4881e Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sat, 3 Dec 2016 23:25:31 +0100 Subject: [PATCH] redraw options menu after rotation in muc details. fixes #2161 --- .../eu/siacs/conversations/ui/ConferenceDetailsActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java b/src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java index 42eb49fbe..4db06b96a 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java @@ -511,8 +511,7 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers this.uuid = getIntent().getExtras().getString("uuid"); } if (uuid != null) { - this.mConversation = xmppConnectionService - .findConversationByUuid(uuid); + this.mConversation = xmppConnectionService.findConversationByUuid(uuid); if (this.mConversation != null) { updateView(); } @@ -520,6 +519,7 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers } private void updateView() { + invalidateOptionsMenu(); final MucOptions mucOptions = mConversation.getMucOptions(); final User self = mucOptions.getSelf(); String account;