runCatching added to loadMembersTask execution.
This commit is contained in:
parent
fae484cb95
commit
4450f51d78
|
@ -1300,7 +1300,9 @@ internal class DefaultCryptoService @Inject constructor(
|
||||||
override fun ensureOutboundSession(roomId: String) {
|
override fun ensureOutboundSession(roomId: String) {
|
||||||
cryptoCoroutineScope.launch(coroutineDispatchers.crypto) {
|
cryptoCoroutineScope.launch(coroutineDispatchers.crypto) {
|
||||||
// Ensure to load all room members
|
// Ensure to load all room members
|
||||||
|
runCatching {
|
||||||
loadRoomMembersTask.execute(LoadRoomMembersTask.Params(roomId))
|
loadRoomMembersTask.execute(LoadRoomMembersTask.Params(roomId))
|
||||||
|
}
|
||||||
|
|
||||||
val userIds = getRoomUserIds(roomId)
|
val userIds = getRoomUserIds(roomId)
|
||||||
val alg = roomEncryptorsStore.get(roomId)
|
val alg = roomEncryptorsStore.get(roomId)
|
||||||
|
|
Loading…
Reference in New Issue