diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-11-19 10:16:05 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-11-19 10:16:05 +0100 |
commit | 9aa8c291e775083078efe93d0bc42390955ae61a (patch) | |
tree | 3d997db844e6c4796a91dc1e5eb1b2124a50100a /TODO | |
parent | ff1390601c8b7b4fbec87f3f23a76495118eff91 (diff) |
Matrix: cache get_message_by_id, temporary remove fetching additional messages which corrupts messages
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -96,7 +96,6 @@ Maybe dont clear cache for body items when filtering. Change scroll in body when previous items change size (such as when thumbnail has finished loading). Load and show replied-to message in the pinned messages tab. Pressing enter on a pinned message should go to the message in the messages tab. -Cache pinned messages on disk (messages by event id), but take into consider edits? for example if one message is pinned in the room and then edited multiple times (such as room rules). In that case cache the pinned message to quickly display it and then fetch the latest version from the server and then replace the message with the latest version. Display file list for nyaa. Remove reply formatting for NOTICE in matrix as well. Scroll body when adding new items and the selected item fits after the scroll (needed for matrix where we want to see new messages when the last item is not selected). Or show the last item when its not visible in matrix (at the bottom, just like when replying/editing). @@ -136,4 +135,5 @@ then add a gap between old messages from before sync and after sync so we can fe Fetching of previous messages should also be saved in the /sync file and messages fetched with get_message_by_id, which would cache embedded items and pinned messages; also cache users. If manga page fails to download then show "failed to download image" as text and bind F5 to refresh (retry download). Use <img src to add custom emojis, and add setting for adding/removing custom emoji. -Use window title when room name changes in matrix.
\ No newline at end of file +Use window title when room name changes in matrix. +Prev token is incorrect if additional messages have been fetched and comparing to get_previous_messages set token, because prev token is not set when fetching additional messages.
\ No newline at end of file |