mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
parent
d0cff219aa
commit
2763fbb496
@ -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…
Reference in New Issue
Block a user