Hide "invite" menu item
We can invite users over the "Participants" menu item as well, and inviting users isn't something we do too often probably. Change-Id: I0c4c77371f0b81d39b3ae65992ef0362acf83a7c
This commit is contained in:
parent
33d59b3ec6
commit
db7a82f567
|
@ -547,7 +547,7 @@ class RoomDetailViewModel @AssistedInject constructor(
|
|||
timeline.pendingEventCount() > 0 && vectorPreferences.developerMode()
|
||||
R.id.resend_all -> state.asyncRoomSummary()?.hasFailedSending == true
|
||||
R.id.timeline_setting -> false // identical to show_room_info (downstream)
|
||||
R.id.invite -> state.canInvite
|
||||
R.id.invite -> false // state.canInvite // SC: disabled, we can do that over show_participants as well
|
||||
R.id.clear_all -> state.asyncRoomSummary()?.hasFailedSending == true
|
||||
R.id.open_matrix_apps -> session.integrationManagerService().isIntegrationEnabled()
|
||||
R.id.voice_call,
|
||||
|
|
Loading…
Reference in New Issue