aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-12-03 23:25:31 +0100
committerDaniel Gultsch <daniel@gultsch.de>2016-12-03 23:25:31 +0100
commita5b3c579c4c37baed1db07f4558f53a197a4881e (patch)
tree9dbe80a722bba12a537a5ca52ba4f895b0e2fa72 /src
parent56991bbaebba8e23ec60da6d3cf344fdec9f6473 (diff)
redraw options menu after rotation in muc details. fixes #2161
Diffstat (limited to 'src')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java4
1 files 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 42eb49fb..4db06b96 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;