From 9aa8c291e775083078efe93d0bc42390955ae61a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 19 Nov 2020 10:16:05 +0100 Subject: Matrix: cache get_message_by_id, temporary remove fetching additional messages which corrupts messages --- TODO | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 7291a6e..aebc2cd 100644 --- a/TODO +++ b/TODO @@ -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