Crypto: fix tracking onRoomMembershipEvent

This commit is contained in:
ganfra 2022-06-02 15:36:06 +02:00
parent 58a1c80334
commit 797dc9ccbb

View file

@ -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
}