Fix API break.
This commit is contained in:
parent
6ca6b77d43
commit
0e670e4059
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue