Ensure getEventTimelineItemByEventId is called when we enter in reply mode.

This commit is contained in:
Benoit Marty 2023-09-27 10:48:31 +02:00
parent aefeb01cdd
commit a192a8823f
4 changed files with 53 additions and 7 deletions

View file

@ -89,6 +89,10 @@ interface MatrixRoom : Closeable {
suspend fun editMessage(originalEventId: EventId?, transactionId: TransactionId?, body: String, htmlBody: String?): Result<Unit>
suspend fun enterReplyMode(eventId: EventId): Result<Unit>
suspend fun exitReplyMode(): Result<Unit>
suspend fun replyMessage(eventId: EventId, body: String, htmlBody: String?): Result<Unit>
suspend fun redactEvent(eventId: EventId, reason: String? = null): Result<Unit>
@ -184,7 +188,4 @@ interface MatrixRoom : Closeable {
suspend fun endPoll(pollStartId: EventId, text: String): Result<Unit>
override fun close() = destroy()
}