mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Introduce MatrixClient.isMe for checking sessionID
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ class RoomMemberDetailsPresenter @AssistedInject constructor(
|
||||
avatarUrl = userAvatar,
|
||||
isBlocked = isBlocked.value,
|
||||
displayConfirmationDialog = confirmationDialog,
|
||||
isCurrentUser = roomMember?.userId == client.sessionId,
|
||||
isCurrentUser = client.isMe(roomMember?.userId),
|
||||
eventSink = ::handleEvents
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user