Merge branch 'develop' into feature/fga/room_preview_join_button_fallback

This commit is contained in:
ganfra
2024-07-24 16:34:35 +02:00
12 changed files with 230 additions and 50 deletions

View File

@@ -126,6 +126,8 @@ interface MatrixRoom : Closeable {
suspend fun sendMessage(body: String, htmlBody: String?, mentions: List<Mention>): Result<Unit>
suspend fun editMessage(eventId: EventId, body: String, htmlBody: String?, mentions: List<Mention>): Result<Unit>
suspend fun sendImage(
file: File,
thumbnailFile: File?,

View File

@@ -18,4 +18,5 @@ package io.element.android.libraries.matrix.api.timeline
sealed class TimelineException : Exception() {
data object CannotPaginate : TimelineException()
data object EventNotFound : TimelineException()
}