redraw options menu after rotation in muc details. fixes #2161
This commit is contained in:
parent
56991bbaeb
commit
a5b3c579c4
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue