Skip to content
Snippets Groups Projects
Unverified Commit 9f798e76 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
No related branches found
No related tags found
No related merge requests found
Pipeline #1224 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment