mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-20 21:28:45 +03:00
commit
087cc0e6e3
3 changed files with 5 additions and 4 deletions
CHANGES.md
matrix-sdk-android/src/main/java/im/vector/matrix/android/api/session/room/model
|
@ -15,6 +15,7 @@ Bugfix:
|
||||||
- Edited message: link confusion when (edited) appears in body (#398)
|
- Edited message: link confusion when (edited) appears in body (#398)
|
||||||
- Close detail room screen when the room is left with another client (#256)
|
- Close detail room screen when the room is left with another client (#256)
|
||||||
- Clear notification for a room left on another client
|
- Clear notification for a room left on another client
|
||||||
|
- Fix messages with empty `in_reply_to` not rendering (#447)
|
||||||
|
|
||||||
Translations:
|
Translations:
|
||||||
-
|
-
|
||||||
|
|
|
@ -29,5 +29,5 @@ interface MessageContent {
|
||||||
|
|
||||||
|
|
||||||
fun MessageContent?.isReply(): Boolean {
|
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)
|
@JsonClass(generateAdapter = true)
|
||||||
data class ReplyToContent(
|
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