When replying from notification, do not interfere with specialModeEventTimelineItem

This commit is contained in:
Benoit Marty 2024-06-03 13:15:05 +02:00 committed by Benoit Marty
parent 7c559363a4
commit 3ddec73ac5
5 changed files with 36 additions and 11 deletions

View file

@ -57,7 +57,13 @@ interface Timeline : AutoCloseable {
suspend fun enterSpecialMode(eventId: EventId?): Result<Unit>
suspend fun replyMessage(eventId: EventId, body: String, htmlBody: String?, mentions: List<Mention>): Result<Unit>
suspend fun replyMessage(
eventId: EventId,
body: String,
htmlBody: String?,
mentions: List<Mention>,
fromNotification: Boolean = false,
): Result<Unit>
suspend fun sendImage(
file: File,