mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 02:15:35 +03:00
runCatching added to loadMembersTask execution.
This commit is contained in:
parent
fae484cb95
commit
4450f51d78
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
loadRoomMembersTask.execute(LoadRoomMembersTask.Params(roomId))
|
runCatching {
|
||||||
|
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 a new issue