redraw options menu after rotation in muc details. fixes #2161

This commit is contained in:
Daniel Gultsch 2016-12-03 23:25:31 +01:00
parent 56991bbaeb
commit a5b3c579c4
1 changed files with 2 additions and 2 deletions

View File

@ -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;