Commit graph

156 commits

Author SHA1 Message Date
Max Sandholm
693fe49a9a Check last message ID before attempting backfill 2023-04-14 23:09:59 +03:00
Max Sandholm
ef1142c614 Get 50 instead of 100 messages at a time 2023-04-14 18:59:17 +03:00
Max Sandholm
ee5ea87e83 Forward fill missing messages on startup 2023-04-14 18:48:35 +03:00
Tulir Asokan
35d0c209f2 Add option to not set room meta in encrypted rooms 2023-04-14 13:39:22 +03:00
Tulir Asokan
a7095b1bd4 Stop falling back if hungryserv yeet fails 2023-03-22 16:58:53 +02:00
Tulir Asokan
15d4cf07f9 Fix mistake in reaction replace error handling 2023-03-11 00:07:53 +02:00
Tulir Asokan
5a40f0a2ab Fix error log 2023-03-07 21:00:29 +02:00
Tulir Asokan
3c52e76e15 Add bridge/unbridge/delete-portal commands
Fixes #34
2023-03-04 14:27:59 +02:00
Tulir Asokan
72d4fb755b Add error status when user isn't logged in 2023-03-01 19:54:08 +02:00
Tulir Asokan
f7c8e03041 Handle redactions from webhook users 2023-03-01 18:48:40 +02:00
Tulir Asokan
17d4b79554 Add initial support for relay mode with webhooks 2023-02-28 00:40:53 +02:00
Tulir Asokan
6365db46cc Remove unnecessary user parameter in parseMatrixHTML 2023-02-27 22:47:45 +02:00
Tulir Asokan
ccd29752c7 Fetch missing channel info on message to support DMs for bots 2023-02-27 11:42:53 +02:00
Tulir Asokan
71d1689776 Adjust some calls for bot accounts 2023-02-27 01:19:26 +02:00
Tulir Asokan
efd22e33b5 Delete guild portals too in delete-all-portals 2023-02-27 00:10:06 +02:00
Tulir Asokan
7b5c057dcf Refactor message handling to fully use convert pattern 2023-02-26 23:47:01 +02:00
Tulir Asokan
a0cc5ec9bc Fully qualify emojis instead of removing VS16. Fixes #58 2023-02-26 21:57:21 +02:00
Tulir Asokan
cace8b5939 Handle gif stickers 2023-02-26 20:46:12 +02:00
Tulir Asokan
a6c3b84db5 Fix update ghost info on reaction 2023-02-23 15:09:21 +02:00
Tulir Asokan
f9ba906bbd Update ghost info on incoming reactions 2023-02-13 11:53:00 +02:00
Tulir Asokan
41d51ec992 Handle guild join messages 2023-02-13 00:25:23 +02:00
Tulir Asokan
6ccf87bc0a Handle call start messages
Closes #53
2023-02-13 00:14:05 +02:00
Tulir Asokan
c336804c7e Fix sticker sizes 2023-02-04 16:17:17 +02:00
Tulir Asokan
a7864c28d8 Add support for converting lottie stickers 2023-02-04 16:10:03 +02:00
Tulir Asokan
1e81fc6a02 Improve typing notification handling 2023-02-04 14:17:59 +02:00
Tulir Asokan
a2121347e8 Don't set extra data in edit fallbacks 2023-02-02 22:23:51 +02:00
Tulir Asokan
85395c0230 Bridge youtube embeds as link previews 2023-02-02 22:23:34 +02:00
Tulir Asokan
787ce75dde Fix transferring same attachment multiple times in parallel 2023-01-31 13:11:02 +02:00
Tulir Asokan
5b715cd9e2 Allow inline links in Discord embed descriptions 2023-01-30 18:35:17 +02:00
Tulir Asokan
a9e03f092c Fix removing custom emoji reactions from Matrix 2023-01-30 01:48:43 +02:00
Tulir Asokan
466139164c Merge emoji and discord_file tables
Also fix duplicate reaction when reacting with custom emoji from Matrix
2023-01-30 01:35:22 +02:00
Tulir Asokan
694733a4e9 Don't specify width in inline images
They don't necessarily need to be square, so only specify height
and let clients make the width fit automatically.
2023-01-30 00:15:57 +02:00
Tulir Asokan
254148f870 Convert everyone/here into room and block other room mentions 2023-01-29 15:59:48 +02:00
Tulir Asokan
0f32f966b3 Add notice to messages that contain components 2023-01-29 15:36:53 +02:00
Tulir Asokan
dd29e8edf5 Update ghost info from mentions 2023-01-29 15:31:56 +02:00
Tulir Asokan
1cc79b44b2 Remove non-descriptive alt texts 2023-01-29 15:23:10 +02:00
Tulir Asokan
98f45991a4 Add support for running Discord bot commands. Fixes #35 2023-01-29 13:45:00 +02:00
Tulir Asokan
10d26a7baa Send all text embeds in one message 2023-01-29 02:13:02 +02:00
Tulir Asokan
98cd08e889 Add slightly hacky support for interaction messages 2023-01-28 16:36:12 +02:00
Tulir Asokan
e9249d6ff9 Upload files before sending message 2023-01-28 15:43:16 +02:00
Tulir Asokan
9cf9d7c446 Handle Matrix stickers as images. Closes #33 2023-01-28 15:08:38 +02:00
Tulir Asokan
2c3a8fb64e Use proxy URLs for all embed media 2023-01-28 14:56:51 +02:00
Tulir Asokan
ccf7969ec6 Fix gif metadata when message edits into a gif 2023-01-28 14:51:14 +02:00
Tulir Asokan
e3a6dd46cb Fix adding images to Beeper link preview metadata 2023-01-28 14:48:08 +02:00
Tulir Asokan
68b82c4d1b Handle link preview and gif embeds appearing as edits 2023-01-28 14:47:41 +02:00
Tulir Asokan
8848fb3840 Handle video and link embeds. Fixes #52 2023-01-28 13:59:35 +02:00
Tulir Asokan
448a48af11 Include images in embeds 2023-01-28 12:56:30 +02:00
Tulir Asokan
c4649533ef Log errors in discord embed conversion 2023-01-28 12:46:36 +02:00
Tulir Asokan
9611b463f5 Ignore embeds with no supported parts 2023-01-28 03:19:14 +02:00
Tulir Asokan
e33bc8c462 Add support for text embeds 2023-01-28 03:16:33 +02:00