Watch
1
0
Fork
You've already forked mautrix-discord
0
mirror of https://github.com/mautrix/discord.git synced 2026-11-12 17:19:19 -05:00
Commit graph mautrix-discord/pkg/msgconv
Author SHA1 Message Date
Nick Mills-Barrett
e78d13a481 Merge branch 'fizzadar/discord-literal-code-escapes' into fizzadar/discord-embed-author-url 2026-11-11 14:31:15 +00:00
Nick Mills-Barrett
0e75be857c Merge remote-tracking branch 'origin/megadiscord' into fizzadar/discord-literal-code-escapes 2026-11-11 14:31:15 +00:00
Nick Mills-Barrett
3624d4c706
msgconv/formatter: preserve timestamps with short date styles (#350) 2026-11-11 07:30:24 -07:00
indent[bot]
d03b9b5113
msgconv/attachments: reuse unencrypted embed image uploads (#311)
Co-authored-by: Indent <noreply@indent.com>
2026-11-11 06:47:23 -07:00
indent[bot]
c893cc545d
msgconv/from-discord: bridge deferred interaction responses as a placeholder (#310)
Co-authored-by: Indent <noreply@indent.com>
2026-11-11 06:46:23 -07:00
Nick Mills-Barrett
b3d819be32
msgconv/from-matrix: preserve emote formatting in edits (#353) 2026-11-10 17:33:00 -07:00
Nick Mills-Barrett
1a33eff9bf Merge branch 'fizzadar/discord-literal-code-escapes' into fizzadar/discord-embed-author-url 2026-11-10 13:29:25 +00:00
Nick Mills-Barrett
b7ab4b2a48 Merge branch 'fizzadar/discord-timestamp-styles' into fizzadar/discord-literal-code-escapes 2026-11-10 13:29:25 +00:00
Nick Mills-Barrett
96651ab4c8 Merge remote-tracking branch 'origin/megadiscord' into fizzadar/discord-timestamp-styles
# Conflicts:
#	pkg/msgconv/formatter_tag.go
2026-11-10 13:29:25 +00:00
Nick Mills-Barrett
0924adfb3f
msgconv/from-discord: infer missing direct attachment MIME types (#361) 2026-11-10 06:28:49 -07:00
Nick Mills-Barrett
6f71a876a8
msgconv/from-matrix: clear removed media captions (#351) 2026-11-10 06:27:53 -07:00
Nick Mills-Barrett
264ea38ec9
msgconv/formatter: preserve text before later mention tokens (#348) 2026-11-10 06:27:24 -07:00
Nick Mills-Barrett
4d115a7943
msgconv: escape outgoing link labels once (#355) 2026-11-10 06:26:08 -07:00
Nick Mills-Barrett
1628f51ebe msgconv/from-discord: preserve rich embed author URLs 2026-11-09 19:00:06 +00:00
Nick Mills-Barrett
1e12723ad7 msgconv/formatter: preserve backslashes in literal code 2026-11-09 18:59:18 +00:00
Nick Mills-Barrett
61e48e533b msgconv/formatter: preserve timestamps with short date styles 2026-11-09 18:57:20 +00:00
Nick Mills-Barrett
b5c89668ff msgconv/formatter: preserve text before later mention tokens 2026-11-09 18:55:40 +00:00
indent[bot]
28e559c5bd
msgconv/from-discord: log messages that convert to no parts (#304)
Co-authored-by: Indent <noreply@indent.com>
2026-11-05 13:28:49 +00:00
Gerardo Rodriguez
e834d3abdc
msgconv/from-discord: bridge media and embeds in forwarded messages (#288) 2026-11-02 13:11:04 +00:00
Gerardo Rodriguez
2e7fcc6119
msgconv/from-discord: bridge guild member and webhook profiles (#289) 2026-11-02 11:18:16 +00:00
indent[bot]
4f82d1a9de
msgconv/from-discord: fall back to the thumbnail when a video embed has no proxy URL (#290)
Co-authored-by: Indent <noreply@indent.com>
2026-11-01 13:12:37 -05:00
Nick Mills-Barrett
5b528a6aed
handlematrix: report Discord's definite rejections as permanent failures (#282)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 13:10:50 +00:00
Nick Mills-Barrett
28043011de
handlematrix,msgconv: report unsupported actions with proper statuses (#277) 2026-10-19 14:00:49 +01:00
Gerardo Rodriguez
6c79932f94
msgconv: Avoid dropping Discord messages with mentions or incomplete replies (#258) 2026-09-26 10:40:58 -04:00
Skip R
8bcc39ec3b bump to discordgo e194251224ed and correct all flag logic 2026-07-14 08:36:16 -07:00
Skip R
5f13d00432 handlediscord,msgconv: handle attachment editing properly
Finally begin assigning stable part IDs when creating message parts.
2026-07-02 05:52:35 -07:00
Skip R
b05860dccb disable per-message-profile hack by default 2026-06-18 22:08:38 -07:00
Skip R
3ef21aabaf msgconv: enforce filename extensions on outgoing voice messages 2026-06-17 23:10:43 -07:00
Gerardo Rodriguez
e8a6e93ce0
msgconv: correctly send OriginalContentType on outgoing attachments (#232)
Co-authored-by: Skip R <tinyslices@gmail.com>
2026-06-16 19:44:58 -07:00
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
af4cf49217 make method receiver names more consistent 2026-04-06 20:45:01 -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
f041f78c09 msgconv/from-matrix: support voice messages 2026-03-17 10:20:31 -07:00
Skip R
f796e4cef6 msgconv/from-discord: tweak incoming call message 2026-03-12 19:26:58 -07:00
Skip R
961a89beba msgconv/formatter: escape role and channel names 2026-03-12 18:59:59 -07:00
Skip R
a2c65ee47c msgconv/formatter: fix inbound mention handling
* Check for user logins as well as fetching a ghost. This fixes
  mentioning other Matrix users (when split portals are off), or
  yourself.
* Escape display names.
* Gracefully fail when failing to locate any useful information.
2026-03-12 18:56:54 -07:00
Skip R
1dce5fa9ff msgconv/from-matrix: don't send allowed_mentions for now 2026-03-12 18:18:31 -07:00
Skip R
2b3b058750 msgconv/from-matrix: convert user pills 2026-03-12 18:17:18 -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
a2933d989b msgconv: do not create stub portals when formatting channel mentions 2026-03-04 20:23:23 -08: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
ea3052e567 handlediscord: sync roles from guilds 2026-02-27 06:44:09 -08:00
Skip R
91f8d2b269 support custom emojis 2026-02-17 19:45:12 -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