-
Notifications
You must be signed in to change notification settings - Fork 47
Description
OS/platform
Ubuntu GNU/Linux 22.04
Emacs version and provenance
Emacs 29.1 compiled from source.
Emacs command
emacs
Emacs frame type
GUI
Ement package version and provenance
Issue verified with ement-0.12 from GNU ELPA via package-install
Actions taken
- Connect to session in both Ement and Element and observe side-by-side.
- Write message, e.g.
test. Both clients showtest. - Edit message to
test2. Both clients showtest2 [edited] - Edit message again to
test3. Ement showstest3 [edited]. Element no longer shows the message text at all, although my username is still present at that position.
Observed results
Element fails to render an edit of an edit, while Ement does display it. This suggests that I may have been inadvertently hiding my messages from others without realising it.
Expected results
Element displays the twice-edited message.
Backtrace
No response
Etc.
I can edit messages repeatedly in Element without problem.
Looking at event data, I think the difference is this:
When I create a message with ID foo and repeatedly edit it in Element, the event for each and every edit says:
(m.relates_to
(event_id . "foo")
(rel_type . "m.replace"))
Conversely when I create a message with ID foo and repeatedly edit it in Ement, each event relates_to the distinct ID of the previous edit event in the series; so only the first edit looks like the example above, and each subsequent edit event (i.e. all of the ones which Element doesn't display) have a different event_id value in that section.