Skip to content
Snippets Groups Projects
Unverified Commit f0e1f140 authored by Alexander Bantyev's avatar Alexander Bantyev
Browse files

Allow editing unsent messages

As of 0db4d71e (Prevent edits of
unsent messages), messages that are edits of (or replies to) unsent
messages were not allowed. This change was made because otherwise
the edits were discarded due to use of txnid rather than mxid in the
"m.relates_to" object. Remove this restriction and fix the issue by
replacing txnid with mxid in all related events when the message is
sent (and we obtain mxid from the server).
parent 9e2b5a10
Branches
Tags
No related merge requests found
Pipeline #1223 canceled