This diff uses the new target_message index to query SQLite for all of the edits and reactions of a given message. We then swap in the text of the latest edit, similar to how the equivalent code in keyserver works.
Depends on D12761
Differential D12762
[SQLite] Query for latest edit in getLatestMessageEdit ashoat on Jul 15 2024, 2:18 PM. Authored by
Details This diff uses the new target_message index to query SQLite for all of the edits and reactions of a given message. We then swap in the text of the latest edit, similar to how the equivalent code in keyserver works. Depends on D12761 I patched lib to make both native and web query for a specific message ID that I had edited, and confirmed that the latest edit appeared
Diff Detail
Event Timeline
Comment Actions On second thought, there's really no good reason to do this parsing in C++... I could just return the whole list of related messages to JS, and let the parsing happen there. This would also make it the same SQLiteAPI reusable for @inka's work. |