Remove duplicated line

This commit is contained in:
Benoit Marty
2025-02-18 17:44:38 +01:00
parent e35eda0c67
commit 3b8e8dcf7f

View File

@@ -607,7 +607,6 @@ class RustMatrixRoom(
override suspend fun reportContent(eventId: EventId, reason: String, blockUserId: UserId?): Result<Unit> = withContext(roomDispatcher) {
runCatching {
innerRoom.reportContent(eventId = eventId.value, score = null, reason = reason)
innerRoom.reportContent(eventId = eventId.value, score = null, reason = reason)
if (blockUserId != null) {
innerRoom.ignoreUser(blockUserId.value)