Fix / Key Request recipients

This commit is contained in:
Valere 2020-03-24 15:49:41 +01:00
parent fcffe1f3c3
commit 2de8865730
1 changed files with 1 additions and 1 deletions

View File

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