mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-26 17:14:59 +01:00
Fix membership event visibility condition.
This commit is contained in:
parent
f1f1613f00
commit
3240cadb94
@ -10,6 +10,7 @@ Improvements 🙌:
|
||||
Bugfix 🐛:
|
||||
- Wait for all room members to be known before sending a message to a e2e room (#2518)
|
||||
- Url previews sometimes attached to wrong message (#2561)
|
||||
- Fix member state filter (#2581)
|
||||
|
||||
Translations 🗣:
|
||||
-
|
||||
|
@ -57,7 +57,7 @@ class TimelineSettingsFactory @Inject constructor(
|
||||
return map {
|
||||
EventTypeFilter(
|
||||
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 New Issue
Block a user