aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-23 10:25:08 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-23 11:06:25 +0200
commit2a973ff9402dab9d6c751a146a9f83617d0e5211 (patch)
treeaacd0ebae55cbe622974d64b464652ffd65a1268 /TODO
parent96c9ed391270347c4c7036179fd2815f679ca7cf (diff)
Matrix: start on room tags, fix thread race condition on accessing room variables (name, avatar url, prev batch)
Diffstat (limited to 'TODO')
-rw-r--r--TODO8
1 files changed, 6 insertions, 2 deletions
diff --git a/TODO b/TODO
index 5109ec2..076900a 100644
--- a/TODO
+++ b/TODO
@@ -70,7 +70,7 @@ Update 4chan thread in real time, just like 4chan-x.
Save the original event message, so when replying for example we can use the original message as the replying to message, rather than our converted "body" text.
Remove tidy dependency and use my own html-parser.
Add option to sort by other than timestamp for nyaa.si.
-Add url preview for matrix (using matrix api, fallback to client url preview (using our own url preview project)).
+Add url preview for matrix (using matrix api, fallback to client url preview (using our own url preview project) if disabled by the homeserver).
IMPORTANT: Cleanup old messages in matrix (from matrix plugin), and instead either save them to disk or refetch them from server when going up to read old messages. (High memory usage, high disk space)
Use memberName() instead of key() when iterating json object. key() creates a copy, memberName() doesn't.
Do not try to reload/redownload thumbnail that fails to download after its cleared when its no longer visible on screen and then becomes visible.
@@ -117,4 +117,8 @@ Cache pinned messages on disk (messages by event id), but take into consider edi
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).
-Implement our own encryption for matrix. This is also needed to make forwarded message work. Pantalaimon ignores them! \ No newline at end of file
+Implement our own encryption for matrix. This is also needed to make forwarded message work. Pantalaimon ignores them!
+Modify matrix sync to download and parse json but not handle it, and then add a function to handle the json. This would allow us to remove all the mutex code if we would call that new method from the main thread.
+Room list in matrix ignores edited messages, which it should for unread messages but it should show the edited message if the edited message is the last message in the room.
+For messages that mention us we only want a notification for the last edited version to show as a notification.
+Fetch replies/pinned message using multiple threads. \ No newline at end of file