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");
|
this.uuid = getIntent().getExtras().getString("uuid");
|
||||||
}
|
}
|
||||||
if (uuid != null) {
|
if (uuid != null) {
|
||||||
this.mConversation = xmppConnectionService
|
this.mConversation = xmppConnectionService.findConversationByUuid(uuid);
|
||||||
.findConversationByUuid(uuid);
|
|
||||||
if (this.mConversation != null) {
|
if (this.mConversation != null) {
|
||||||
updateView();
|
updateView();
|
||||||
}
|
}
|
||||||
|
@ -520,6 +519,7 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateView() {
|
private void updateView() {
|
||||||
|
invalidateOptionsMenu();
|
||||||
final MucOptions mucOptions = mConversation.getMucOptions();
|
final MucOptions mucOptions = mConversation.getMucOptions();
|
||||||
final User self = mucOptions.getSelf();
|
final User self = mucOptions.getSelf();
|
||||||
String account;
|
String account;
|
||||||
|
|
Loading…
Reference in a new issue