Skip to content

Commit 4585597

Browse files
authored
Merge pull request #1828 from vector-im/feature/bma/fixForwardToRoomError
Fix wrong list used when forwarding an Event to some rooms fails.
2 parents 63d03be + 589eeb4 commit 4585597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/room/RoomContentForwarder.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class RoomContentForwarder(
7272
}
7373

7474
if (failedForwardingTo.isNotEmpty()) {
75-
throw ForwardEventException(toRoomIds.toList())
75+
throw ForwardEventException(failedForwardingTo.toList())
7676
}
7777
}
7878
}

0 commit comments

Comments
 (0)