1
0
mirror of https://github.com/vector-im/riotX-android synced 2025-10-06 00:02:48 +02:00

Remove redudant calls to eventBus post

This commit is contained in:
Valere
2020-02-14 10:47:34 +01:00
parent 5808c1de22
commit a250a895fe

View File

@@ -637,11 +637,11 @@ internal class DefaultCrossSigningService @Inject constructor(
// In this case it will change my MSK trust, and should then re-trigger a check of all other user trust // In this case it will change my MSK trust, and should then re-trigger a check of all other user trust
setUserKeysAsTrusted(otherUserId, checkSelfTrust().isVerified()) setUserKeysAsTrusted(otherUserId, checkSelfTrust().isVerified())
} }
}
eventBus.post(CryptoToSessionUserTrustChange(userIds)) eventBus.post(CryptoToSessionUserTrustChange(userIds))
} }
} }
}
private fun setUserKeysAsTrusted(otherUserId: String, trusted: Boolean) { private fun setUserKeysAsTrusted(otherUserId: String, trusted: Boolean) {
cryptoCoroutineScope.launch(coroutineDispatchers.crypto) { cryptoCoroutineScope.launch(coroutineDispatchers.crypto) {