"Jump to read receipt" available only for joined members
This commit is contained in:
parent
7952e205b9
commit
6325ee9310
|
@ -172,6 +172,8 @@ class RoomMemberProfileController @Inject constructor(
|
|||
val membership = state.asyncMembership() ?: return
|
||||
|
||||
buildProfileSection(stringProvider.getString(R.string.room_profile_section_more))
|
||||
|
||||
if (membership == Membership.JOIN) {
|
||||
buildProfileAction(
|
||||
id = "read_receipt",
|
||||
editable = false,
|
||||
|
@ -179,6 +181,7 @@ class RoomMemberProfileController @Inject constructor(
|
|||
dividerColor = dividerColor,
|
||||
action = { callback?.onJumpToReadReceiptClicked() }
|
||||
)
|
||||
}
|
||||
|
||||
val ignoreActionTitle = state.buildIgnoreActionTitle()
|
||||
|
||||
|
|
Loading…
Reference in New Issue