Fix warning (rename the base parameter name).
This commit is contained in:
parent
0740330b39
commit
2b84e7adc0
2 changed files with 2 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ interface MatrixRoom : Closeable {
|
||||||
|
|
||||||
suspend fun toggleReaction(emoji: String, eventId: EventId): Result<Unit>
|
suspend fun toggleReaction(emoji: String, eventId: EventId): Result<Unit>
|
||||||
|
|
||||||
suspend fun forwardEvent(eventId: EventId, rooms: List<RoomId>): Result<Unit>
|
suspend fun forwardEvent(eventId: EventId, roomIds: List<RoomId>): Result<Unit>
|
||||||
|
|
||||||
suspend fun retrySendMessage(transactionId: String): Result<Unit>
|
suspend fun retrySendMessage(transactionId: String): Result<Unit>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -239,7 +239,7 @@ class FakeMatrixRoom(
|
||||||
|
|
||||||
override suspend fun sendFile(file: File, fileInfo: FileInfo, progressCallback: ProgressCallback?): Result<Unit> = fakeSendMedia(progressCallback)
|
override suspend fun sendFile(file: File, fileInfo: FileInfo, progressCallback: ProgressCallback?): Result<Unit> = fakeSendMedia(progressCallback)
|
||||||
|
|
||||||
override suspend fun forwardEvent(eventId: EventId, rooms: List<RoomId>): Result<Unit> = simulateLongTask {
|
override suspend fun forwardEvent(eventId: EventId, roomIds: List<RoomId>): Result<Unit> = simulateLongTask {
|
||||||
forwardEventResult
|
forwardEventResult
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue