Merge branch 'develop' into feature/fga/room_preview_join_button_fallback
This commit is contained in:
commit
d421a6c99b
12 changed files with 230 additions and 50 deletions
|
|
@ -212,6 +212,11 @@ class FakeMatrixRoom(
|
|||
return updateUserRoleResult()
|
||||
}
|
||||
|
||||
var editMessageLambda: (EventId, String, String?, List<Mention>) -> Result<Unit> = { _, _, _, _ -> lambdaError() }
|
||||
override suspend fun editMessage(eventId: EventId, body: String, htmlBody: String?, mentions: List<Mention>): Result<Unit> {
|
||||
return editMessageLambda(eventId, body, htmlBody, mentions)
|
||||
}
|
||||
|
||||
override suspend fun sendMessage(body: String, htmlBody: String?, mentions: List<Mention>) = simulateLongTask {
|
||||
sendMessageResult(body, htmlBody, mentions)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue