mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-26 15:18:19 +08:00
Crypto: fix tracking onRoomMembershipEvent
This commit is contained in:
parent
58a1c80334
commit
797dc9ccbb
@ -486,7 +486,7 @@ internal class DefaultCryptoService @Inject constructor(
|
||||
*/
|
||||
private fun onRoomMembershipEvent(roomId: String, event: Event) {
|
||||
// We only care about the memberships if this room is encrypted
|
||||
if (isRoomEncrypted(roomId)) {
|
||||
if (!isRoomEncrypted(roomId)) {
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user