From df33764eeb6d038419d8a88a2888b5472b86316b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 3 Dec 2020 01:43:26 +0100 Subject: Matrix: make messages that reply to us red even if the text itself doesn't contain reference to our name --- TODO | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index bce0bf4..6ff1f16 100644 --- a/TODO +++ b/TODO @@ -128,7 +128,7 @@ Automatically retry sending messages that fails to send (after timeout). These f Also make message deletion provisional (make it gray while its deleting the message). Continue matrix requests when switching room, instead of resetting them when going from chat page to room list page (such as post message request). Improve /sync by not removing cached data on initial sync, and also always append data to sync file instead of overwriting sync file on "initial sync". Also cache "since", but take into consideration that not all messages are fetched on the initial sync, -then add a gap between old messages from before sync and after sync so we can fetch the messages between the old messages and new messages and remove the gap when the fetched messages contains any of the old messages. +then add a gap between old messages from before sync and after sync so we can fetch the messages between the old messages and new messages and remove the gap when the fetched messages contains any of the old messages. After the sync, ignored users messages should be removed from the cache and messages list. Also take into consideration unignoring users. 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 " in the room description instead of "Message deleted". -Limit size of Entry and scroll content instead. \ No newline at end of file +Limit size of Entry and scroll content instead. +Have an option to remove membership events from room unread messages, so that only text/media messages update room unread description in the room list. This could be implemented by doing /sync and filtering to only show m.room.message event types or something similar and limiting it to the last message, +then comparing that to the read marker. +Comparing latest message for unread message should be done by comparing event id ascii-wise instead of checking if the latest message is equal to the read marker event id. This is to fix unread messages in the case of the latest message in a room being deleted. +Support replying to messages with media, by typing /upload in the reply text. \ No newline at end of file -- cgit v1.2.3