Commit Graph

75 Commits

Author SHA1 Message Date
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
Tulir Asokan
9ca27a8df6 Cache files copied to Matrix 2023-01-28 01:57:45 +02:00
Tulir Asokan
9e6b573e83 Ignore channel name/icon change messages 2023-01-28 00:55:33 +02:00
Tulir Asokan
09a94010d8 Add option to disable custom emoji reactions 2023-01-27 21:23:11 +02:00
Tulir Asokan
039764e081 Include custom emoji metadata in reaction events. Fixes #50 2023-01-27 21:20:38 +02:00
Tulir Asokan
3350692eb0 Add beeper room type to m.bridge info 2023-01-13 19:35:17 +02:00
Tulir Asokan
9d84faa954 Add support for unbridging guilds 2023-01-13 17:01:23 +02:00
Tulir Asokan
75453d6371 Use hungryserv room delete endpoint if supported 2023-01-11 17:31:40 +02:00
Tulir Asokan
d45a8a30d2 Fix typo in room cleanup 2023-01-11 17:30:24 +02:00
Tulir Asokan
2d64b0bae6 Fix bridging small stickers 2022-11-30 15:10:56 +02:00
Tulir Asokan
b64617a699 Update mautrix-go and stop sending all thread messages as replies 2022-10-28 23:45:35 +03:00
Tulir Asokan
f268ddd132 Add option for autojoining threads when opened 2022-10-28 23:35:31 +03:00
Tulir Asokan
0e12bd58d6 Add missing error to log line 2022-09-12 12:40:18 +03:00
Tulir Asokan
a20aba13e5 Don't send notices for target event not found. Closes #25 2022-08-20 11:43:43 +03:00
Tulir Asokan
522ac4e2fe Remove duplicate calls to send m.space.child for DM rooms 2022-08-19 23:10:46 +03:00
Tulir Asokan
0471239b29 Fix updating space in UpdateInfo 2022-08-19 22:52:32 +03:00
Tulir Asokan
042d22c954 Add legacy booleans back to message status events 2022-08-17 17:27:41 +03:00
Tulir Asokan
1ced229be9 Update mautrix-go for new bridge status package 2022-08-15 16:43:55 +03:00
Brad Murray
036b5f889f Use discordgo as the protocol.id in the m.bridge event to differentiate from other discord bridges 2022-07-20 10:32:51 -04:00
Tulir Asokan
11efa49961 Fix some bugs 2022-07-09 17:10:47 +03:00
Tulir Asokan
249c7a22d8 Add private channels to space when they're created from an incoming message 2022-07-09 17:03:32 +03:00
Tulir Asokan
7f0f77423d Bridge channel deletions from Discord 2022-07-09 16:51:43 +03:00
Tulir Asokan
e5c8609089 Adjust some logs 2022-07-09 12:20:18 +03:00
Tulir Asokan
5b4c078874 Add logs when updating portal details 2022-07-08 20:56:06 +03:00
Tulir Asokan
f4bc11770a Reduce some unnecessary db updates 2022-07-08 20:52:19 +03:00
Tulir Asokan
ebd5f0313a Add missing return 2022-07-08 20:49:30 +03:00
Tulir Asokan
c6fbaa90bf Re-add support for channel name templates 2022-07-08 20:49:23 +03:00
Tulir Asokan
1ecf096aec Add basic typing notification bridging 2022-07-08 17:06:02 +03:00
Tulir Asokan
a33551e487 Bridge own read status in both directions 2022-07-08 12:00:55 +03:00
Tulir Asokan
752063f292 Add support for stickers from Discord 2022-07-03 12:58:57 +03:00
Tulir Asokan
ac7be4bb4e Don't try to insert nothing into the database. Fixes #11 2022-07-02 23:19:00 +03:00
Tulir Asokan
152fb5c7ce Add support for tags in Discord -> Matrix formatter 2022-07-02 14:48:42 +03:00