mirror of
https://github.com/ulyssa/iamb.git
synced 2026-04-03 08:19:08 -06:00
Save all edit events internally #94
Labels
No labels
admin
bug
bug
bug
bug
bug
bug
bug
debugging
documentation
documentation
documentation
documentation
e2ee
e2ee
e2ee
e2ee
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
experimental
experimental
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
image
image
image
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
perf
perf
perf
perf
ratatui
releases
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github/iamb#94
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @VAWVAW on 6/4/2025
This saves replacement/edit events in two places:
RoomInfo::messagewith a new message type.This is needed for read receipts on edits and redaction of edits to work.
Message::eventforMessageEvent::OriginalandMessageEvent::Local(though I'm not sure whether a local event could get edited).This allows every access to the message body to be replaced by an access to the newest edit.
If an edit is redacted, it is simply removed from this list.
In case the edit event is loaded before the message itself, it is saved to
RoomInfo::unloaded_edits.possible future additions
msg_not_hiddeninsrc/windows/room/scrollback.rsis used to hide the edit events from the timeline and could be extended to hide other kinds of events.:edits, making it possible to view and redact edit events.fixes #431