mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-23 01:20:35 +03:00
Fix membership event visibility condition.
Change-Id: I1a7ad10f845356c9056bb3f6842935a393e75e23
This commit is contained in:
parent
7c1361a223
commit
60b92b7d32
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class TimelineSettingsFactory @Inject constructor(
|
||||||
return map {
|
return map {
|
||||||
EventTypeFilter(
|
EventTypeFilter(
|
||||||
eventType = it,
|
eventType = it,
|
||||||
stateKey = if (it == EventType.STATE_ROOM_MEMBER && userPreferencesProvider.shouldShowRoomMemberStateEvents()) session.myUserId else null
|
stateKey = if (it == EventType.STATE_ROOM_MEMBER && !userPreferencesProvider.shouldShowRoomMemberStateEvents()) session.myUserId else null
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue