mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Fix API break.
This commit is contained in:
+1
-1
@@ -321,7 +321,7 @@ class JoinedRustRoom(
|
|||||||
|
|
||||||
override suspend fun reportContent(eventId: EventId, reason: String, blockUserId: UserId?): Result<Unit> = withContext(roomDispatcher) {
|
override suspend fun reportContent(eventId: EventId, reason: String, blockUserId: UserId?): Result<Unit> = withContext(roomDispatcher) {
|
||||||
runCatchingExceptions {
|
runCatchingExceptions {
|
||||||
innerRoom.reportContent(eventId = eventId.value, score = null, reason = reason)
|
innerRoom.reportContent(eventId = eventId.value, reason = reason)
|
||||||
if (blockUserId != null) {
|
if (blockUserId != null) {
|
||||||
innerRoom.ignoreUser(blockUserId.value)
|
innerRoom.ignoreUser(blockUserId.value)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user