mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-26 10:58:34 +03:00
Crypto: fix tracking onRoomMembershipEvent
This commit is contained in:
parent
58a1c80334
commit
797dc9ccbb
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ internal class DefaultCryptoService @Inject constructor(
|
||||||
*/
|
*/
|
||||||
private fun onRoomMembershipEvent(roomId: String, event: Event) {
|
private fun onRoomMembershipEvent(roomId: String, event: Event) {
|
||||||
// We only care about the memberships if this room is encrypted
|
// We only care about the memberships if this room is encrypted
|
||||||
if (isRoomEncrypted(roomId)) {
|
if (!isRoomEncrypted(roomId)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue