mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 20:29:10 +03:00
commit
087cc0e6e3
3 changed files with 5 additions and 4 deletions
|
@ -15,6 +15,7 @@ Bugfix:
|
|||
- Edited message: link confusion when (edited) appears in body (#398)
|
||||
- Close detail room screen when the room is left with another client (#256)
|
||||
- Clear notification for a room left on another client
|
||||
- Fix messages with empty `in_reply_to` not rendering (#447)
|
||||
|
||||
Translations:
|
||||
-
|
||||
|
|
|
@ -29,5 +29,5 @@ interface MessageContent {
|
|||
|
||||
|
||||
fun MessageContent?.isReply(): Boolean {
|
||||
return this?.relatesTo?.inReplyTo != null
|
||||
}
|
||||
return this?.relatesTo?.inReplyTo?.eventId != null
|
||||
}
|
||||
|
|
|
@ -21,5 +21,5 @@ import com.squareup.moshi.JsonClass
|
|||
|
||||
@JsonClass(generateAdapter = true)
|
||||
data class ReplyToContent(
|
||||
@Json(name = "event_id") val eventId: String
|
||||
)
|
||||
@Json(name = "event_id") val eventId: String? = null
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue