mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 09:25:49 +03:00
Merge pull request #2604 from vector-im/feature/ons/fix_hide_member_events
Feature/ons/fix hide member events
This commit is contained in:
commit
a7d8e74468
2 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@ Bugfix 🐛:
|
||||||
- Unspecced msgType field in m.sticker (#2580)
|
- Unspecced msgType field in m.sticker (#2580)
|
||||||
- Wait for all room members to be known before sending a message to a e2e room (#2518)
|
- 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)
|
- Url previews sometimes attached to wrong message (#2561)
|
||||||
|
- Hiding membership events works the exact opposite (#2603)
|
||||||
|
|
||||||
Translations 🗣:
|
Translations 🗣:
|
||||||
-
|
-
|
||||||
|
|
|
@ -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