Sending queue : disable edition of local echo
This commit is contained in:
parent
b927daffe7
commit
2ce02c564a
2 changed files with 2 additions and 4 deletions
|
|
@ -326,9 +326,7 @@ class RustTimeline(
|
|||
specialModeEventTimelineItem = null
|
||||
}
|
||||
transactionId != null -> {
|
||||
inner.getEventTimelineItemByTransactionId(transactionId.value).use {
|
||||
inner.redactEvent(item = it, reason = null)
|
||||
}
|
||||
error("Editing local echo is not supported yet.")
|
||||
}
|
||||
else -> {
|
||||
error("Either originalEventId or transactionId must be non null")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue