Merge branch 'develop' into feature/fga/live_location_sharing_setup
This commit is contained in:
commit
e8c2790595
131 changed files with 825 additions and 407 deletions
|
|
@ -214,7 +214,7 @@ class RustEncryptionService(
|
|||
|
||||
override suspend fun recover(recoveryKey: String): Result<Unit> = withContext(dispatchers.io) {
|
||||
runCatchingExceptions {
|
||||
service.recover(recoveryKey)
|
||||
service.recoverAndFixBackup(recoveryKey)
|
||||
}.recoverCatching {
|
||||
when (it) {
|
||||
// We ignore import errors because the user will be notified about them via the "Key storage out of sync" detection.
|
||||
|
|
|
|||
|
|
@ -324,7 +324,7 @@ class JoinedRustRoom(
|
|||
|
||||
override suspend fun reportContent(eventId: EventId, reason: String, blockUserId: UserId?): Result<Unit> = withContext(roomDispatcher) {
|
||||
runCatchingExceptions {
|
||||
innerRoom.reportContent(eventId = eventId.value, score = null, reason = reason)
|
||||
innerRoom.reportContent(eventId = eventId.value, reason = reason)
|
||||
if (blockUserId != null) {
|
||||
innerRoom.ignoreUser(blockUserId.value)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue