Fix / Key Request recipients

This commit is contained in:
Valere 2020-03-24 15:49:41 +01:00
parent fcffe1f3c3
commit 2de8865730

View file

@ -149,7 +149,7 @@ internal class MXMegolmDecryption(private val userId: String,
val encryptedEventContent = event.content.toModel<EncryptedEventContent>()
val senderDevice = encryptedEventContent?.deviceId ?: return
val recipients = if (event.senderId != userId) {
val recipients = if (event.senderId == userId) {
mapOf(
userId to listOf("*")
)