mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
Revert fixing users as it's not the good catch
This commit is contained in:
parent
150d44aafd
commit
e07a584d66
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ internal class RoomMemberEventHandler @Inject constructor() {
|
|||
val userId = event.stateKey ?: return false
|
||||
val roomMemberEntity = RoomMemberEntityFactory.create(roomId, userId, roomMember)
|
||||
realm.insertOrUpdate(roomMemberEntity)
|
||||
if (roomMember.membership.isActive() && event.unsignedData?.replacesState.isNullOrEmpty()) {
|
||||
if (roomMember.membership.isActive()) {
|
||||
val userEntity = UserEntityFactory.create(userId, roomMember)
|
||||
realm.insertOrUpdate(userEntity)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue