Commit 907b1742 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Removes the mentions and member list on DMs.

parent bd5ed027
......@@ -8,11 +8,13 @@ import androidx.appcompat.widget.SearchView
import androidx.core.content.res.ResourcesCompat
import chat.rocket.android.R
import chat.rocket.android.util.extension.onQueryTextListener
import chat.rocket.common.model.RoomType
internal fun ChatRoomFragment.setupMenu(menu: Menu) {
setupSearchMessageMenuItem(menu, requireContext())
setupFavoriteMenuItem(menu)
if (chatRoomType != RoomType.DIRECT_MESSAGE) {
menu.add(
Menu.NONE,
MENU_ACTION_MEMBER,
......@@ -26,6 +28,7 @@ internal fun ChatRoomFragment.setupMenu(menu: Menu) {
Menu.NONE,
R.string.msg_mentions
)
}
menu.add(
Menu.NONE,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment