Fix remember to call the function.

This commit is contained in:
Onuray Sahin 2021-02-04 12:18:32 +03:00 committed by Benoit Marty
parent ae648c3e11
commit e92edc7cb1

View file

@ -138,7 +138,7 @@ internal class MXMegolmEncryption(
} }
override suspend fun ensureOutboundSession(usersInRoom: List<String>) { override suspend fun ensureOutboundSession(usersInRoom: List<String>) {
getDevicesInRoom(usersInRoom).allowedDevices ensureOutboundSession(getDevicesInRoom(usersInRoom).allowedDevices)
} }
private suspend fun ensureOutboundSession(devicesInRoom: MXUsersDevicesMap<CryptoDeviceInfo>): MXOutboundSessionInfo { private suspend fun ensureOutboundSession(devicesInRoom: MXUsersDevicesMap<CryptoDeviceInfo>): MXOutboundSessionInfo {