Skip R
da6a633470
msgconv/from-discord: inline PerMessageProfileForSender usage
...
This is removed from mautrix 0.27.0.
2026-04-21 15:08:43 -07:00
Skip R
c88ffbc9ba
directmedia: reimplement in-memory URL cache
2026-03-23 21:58:05 -07:00
Skip R
dd2c2ec0c9
directmedia: sketch implementation
2026-03-20 02:39:40 -07:00
Skip R
744ba4190b
msgconv/from-discord: improve look of backfilled user joins
2026-03-18 23:59:25 -07:00
Skip R
8270a9462d
handlediscord: bridge live user joins as membership events
2026-03-18 23:58:50 -07:00
Skip R
f796e4cef6
msgconv/from-discord: tweak incoming call message
2026-03-12 19:26:58 -07:00
Skip R
6959888bbd
msgconv: change animated sticker mime type
...
This matches with what Beeper Desktop expects.
2026-03-11 17:33:02 -07:00
Skip R
cfe1d24d19
connector: handle receivers correctly and consolidate thread routing
...
* The split_portals config option is finally respected.
* This should prevent future room duplication when migrating from the
pre-bridgev2 version of the bridge, as we'll finally address guild
channels properly (that is, without a Receiver set, unless
split_portals is true).
2026-03-04 19:15:46 -08:00
Skip R
8e51cf25aa
msgconv: populate reply information even when target isn't in db
...
We can't rely on the reply target to be in the database because that
won't be true during backwards backfill. Populate it more eagerly.
2026-03-03 22:12:49 -08:00
Skip R
5d9e2373d9
msgconv/from-discord: propagate reply log to context
2026-03-03 20:13:12 -08:00
Skip R
55c0272903
handlediscord: initial pass at threads support
2026-02-27 06:44:09 -08:00
Skip R
dfa9c52974
discordid: make function names more explicit
...
These are fairly wordy but help maintain correctness. A channel portal
ID should not be confused with a guild portal ID.
2026-02-13 21:19:07 -08:00
Skip R
abcc0dca47
msgconv/from-discord: port sticker conversion
2026-02-09 14:13:54 -08:00
Skip R
1fcc910184
msgconv/from-discord: add per-message profiles
2026-02-06 17:42:51 -08:00
Skip R
92352ce603
discordid: remove all ID-related casts
...
In the same vein as mautrix-whatsapp, -slack and others, do not make
assumptions about how the ID is represented in the connector code. Let
the discordid package be entirely responsible.
2026-02-01 21:09:17 -08:00
Tulir Asokan
d89746d099
msgconv: clean up reuploading attachments to Matrix
2026-01-28 17:21:19 +02:00
Skip R
1a3144d2d0
msgconv/from-discord: bridge replies
2026-01-27 22:29:55 -08:00
Skip R
b8a01bf9d4
msgconv/from-discord: use a tagged switch instead of if
2026-01-27 19:12:26 -08:00
Skip R
578030a9dd
msgconv/from-discord: only complain about portal when we can't find it
2026-01-27 19:11:57 -08:00
Skip R
2f8de6635a
msgconv/from-discord: refactor forwarded message conversion
2026-01-27 19:10:58 -08:00
Skip R
ac338ee722
msgconv: correctly bridge attachments and embeds
...
`URL` needs to be set if the room/attachment is unencrypted; otherwise,
`File` needs to be set.
2026-01-14 18:07:15 -08:00
Skip R
bdbfd661a2
msgconv: don't set EncryptedFile if there isn't one
...
FIXME: This probably isn't proper handling, but this is enough to
prevent panics.
2026-01-13 14:50:35 -08:00
Skip R
fdcfb2b083
chore: bump copyright year
2026-01-08 16:56:13 -08:00
Skip R
60171b4fca
lint
2025-12-11 19:56:31 -08:00
Skip R
b5e6db06f8
msgconv: port most of attachment and text message bridging
...
* Created a separate discordid package to avoid import cycles.
* Implemented attachment bridging. We still need to implement direct
media, but this will do for now.
* Corrected how encrypted files (e.g. embed images and attachments) were
bridged. Previously, the URL field would be empty.
Still a lot of missing pieces. Thoughts:
* Mentions to roles and custom emoji are not rendered properly. We need
to maintain our own DB.
* We might not need the "attachments" leaf package anymore? It's just
there to avoid an import cycle.
Bridging actual events (i.e. wiring up discordgo's event handlers) is
probably next.
2025-11-26 18:13:07 -08:00
Skip R
86e18c1f7d
msgconv: port the majority of embed and attachment bridging
...
We still need to implement direct media support, so for now we encrypt
and reupload to Matrix. Notably remaining is conversion to HTML.
2025-11-26 15:18:29 -08:00
Skip R
17fed9aca5
msgconv: initial impl of ToMatrix, porting convertDiscordTextMessage
2025-11-25 18:01:31 -08:00