mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Timeline : re-enable edition of local echo
This commit is contained in:
+4
-1
@@ -333,7 +333,10 @@ class RustTimeline(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
transactionId != null -> {
|
transactionId != null -> {
|
||||||
error("Editing local echo is not supported yet.")
|
inner.edit(
|
||||||
|
newContent = messageEventContentFromParts(body, htmlBody).withMentions(mentions.map()),
|
||||||
|
item = inner.getEventTimelineItemByTransactionId(transactionId.value),
|
||||||
|
)
|
||||||
}
|
}
|
||||||
else -> {
|
else -> {
|
||||||
error("Either originalEventId or transactionId must be non null")
|
error("Either originalEventId or transactionId must be non null")
|
||||||
|
|||||||
Reference in New Issue
Block a user