mirror of https://github.com/Nheko-Reborn/nheko
As of 0db4d71ec2
(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).
pull/611/head
parent
9e2b5a1061
commit
9f798e76ed
Loading…
Reference in new issue