Fix / Key Request recipients
This commit is contained in:
parent
fcffe1f3c3
commit
2de8865730
|
@ -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("*")
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue