Commit graph

26 commits

Author SHA1 Message Date
git-bruh
819e1cdbc1
fix mentions, closes #12 2021-12-01 11:37:54 +05:30
git-bruh
8607a402fa
send auth token in headers 2021-08-04 17:32:08 +05:30
git-bruh
f83638aef0
Fix formatted body for replies 2021-07-19 21:27:37 +05:30
git-bruh
416bfbe261
don't send empty formatted body of parent event in replies 2021-07-19 20:03:04 +05:30
git-bruh
0ac5faf357
oops 2021-07-19 17:39:43 +05:30
git-bruh
597c82cd88
don't send formatted body needlessly 2021-07-19 17:20:20 +05:30
git-bruh
3b47e5af3f
add (some) sticker support 2021-07-04 15:08:32 +05:30
git-bruh
4db1b48c71
fix reply fallback stripping regex 2021-07-04 12:39:05 +05:30
git-bruh
d864b0cc44
use a proper markdown parser 2021-06-28 15:18:59 +05:30
git-bruh
30688bf5b0
strip reply fallbacks, fixes nested replies rendering 2021-06-27 19:24:22 +05:30
git-bruh
3a526f8767
try fix for webhook edits edge case 2021-06-06 15:26:05 +05:30
git-bruh
fac23476e4
Clear up README 2021-06-06 13:30:37 +05:30
git-bruh
67db7b1be0
fix synapse again 2021-06-05 20:14:44 +05:30
git-bruh
31b7c0dba8
fix synapse 2021-06-05 18:18:31 +05:30
git-bruh
f1ef46d37c
try fixing nested replies 2021-05-18 15:00:48 +05:30
git-bruh
eef7721153
try reconnecting, remove useless stuff 2021-05-18 13:34:42 +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
b21c82ccd0
fix code injection in queries 2021-05-05 10:30:10 +05:30
git-bruh
b9e5409300
fix blank message detection 2021-05-03 18:12:41 +05:30
git-bruh
6b20650503
appservice: fix attachments (message content can be empty) 2021-04-25 10:36:35 +05:30
git-bruh
a481efeee3
appservice: send links for matrix attachment 2021-04-20 18:37:43 +05:30
git-bruh
a14efadfd6
appservice: update README.md 2021-04-18 18:15:44 +05:30
git-bruh
78d85a2374
appservice: support messages from other webhooks 2021-04-18 18:14:18 +05:30
git-bruh
7e454a14a5
minor refactors, embeds 2021-04-18 07:53:21 +00:00
git-bruh
d6740b4bd3
Appservice (#4) 2021-04-17 10:15:51 +05:30