Message queuing : use redactEvent on timeline instead of room.
This commit is contained in:
parent
41e5a6dd40
commit
7100a9d619
5 changed files with 14 additions and 28 deletions
|
|
@ -324,12 +324,6 @@ class RustMatrixRoom(
|
|||
return liveTimeline.sendMessage(body, htmlBody, mentions)
|
||||
}
|
||||
|
||||
override suspend fun redactEvent(eventId: EventId, reason: String?) = withContext(roomDispatcher) {
|
||||
runCatching {
|
||||
innerRoom.redact(eventId.value, reason)
|
||||
}
|
||||
}
|
||||
|
||||
override suspend fun leave(): Result<Unit> = withContext(roomDispatcher) {
|
||||
runCatching {
|
||||
innerRoom.leave()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue