Commit graph

6 commits

Author SHA1 Message Date
git-bruh
3b47e5af3f
add (some) sticker support 2021-07-04 15:08:32 +05:30
git-bruh
d864b0cc44
use a proper markdown parser 2021-06-28 15:18:59 +05:30
git-bruh
f1ef46d37c
try fixing nested replies 2021-05-18 15:00:48 +05:30
git-bruh
a3ee85d955
fix messages > 2000 chars, fix fetching channel names in messages, fix newlines 2021-05-17 21:08:35 +05:30
git-bruh
4713a00016
cleanup
* Use websocket events to sync usernames/avatars instead of periodic syncing.

* Use caches for fetched room_ids, room state (for usernames and avatars). Also switch to using a single cache with locks.

* Don't store full message objects in cache, just store the relation of matrix event IDs to discord message IDs and vice-versa. Content can be fetched from the server instead.

* Don't rely on websocket events for mentioning Discord users, mentions are now done by mentioning the dummy matrix user. The ID to be mentioned is extracted from the MXID instead.

* General clean-ups.
2021-05-13 15:51:58 +05:30
git-bruh
d6740b4bd3
Appservice (#4) 2021-04-17 10:15:51 +05:30