fixed pm to vistors

This commit is contained in:
Daniel Gultsch 2018-03-14 17:31:33 +01:00
parent c2db940594
commit 3c932e9fa6
2 changed files with 3 additions and 1 deletions

View File

@ -386,7 +386,7 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers
}
} else {
MenuItem sendPrivateMessage = menu.findItem(R.id.send_private_message);
sendPrivateMessage.setVisible(user.getRole().ranks(MucOptions.Role.PARTICIPANT));
sendPrivateMessage.setVisible(user.getRole().ranks(MucOptions.Role.VISITOR));
}
}

View File

@ -155,6 +155,8 @@
</style>
<style name="ConversationsTheme.FullScreen" parent="@style/Theme.AppCompat.Light">
<item name="colorPrimary">@color/primary500</item>
<item name="colorPrimaryDark">@color/primary700</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowActionBar">false</item>
<item name="android:windowFullscreen">true</item>