Watch
1
0
Fork
You've already forked mautrix-discord
0
mirror of https://github.com/mautrix/discord.git synced 2026-11-10 16:19:17 -05:00
Commit graph mautrix-discord/pkg/connector/handlematrix.go
Author SHA1 Message Date
Nick Mills-Barrett
cbc53a658a
handlematrix: don't allow stranger DMs before account standing is known (#287) 2026-10-29 14:37:37 +00:00
Gerardo Rodriguez
7f73c93f36
handlematrix: accept message requests before replying (#280) 2026-10-29 09:59:58 -04:00
Nick Mills-Barrett
7e84766c51
client: add config options to customize stranger DMs blocking (#243) 2026-10-29 13:40:05 +00: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
2cdbe57a4b
handlematrix: don't send typing when the user stops typing (#272) 2026-10-19 14:09:46 +01:00
Nick Mills-Barrett
28043011de
handlematrix,msgconv: report unsupported actions with proper statuses (#277) 2026-10-19 14:00:49 +01:00
Gerardo Rodriguez
540e2d9487
handlematrix: handle echoes of messages whose send timed out (#262) 2026-10-14 06:59:51 -04:00
Tulir Asokan
2116e16923 handlematrix: check current relationship before unblocking 2026-10-05 18:56:06 +03:00
Tulir Asokan
d892da17a1 handle*: add support for blocking DM portals 2026-10-05 18:26:10 +03:00
Skip R
5f1cbbce5f handlematrix: backport stranger dm prevention from v1 2026-05-13 03:13:02 -07:00
Skip R
4fc08f5fc9 move comment 2026-05-13 01:54:52 -07:00
Skip R
36d918670a analytics: send for outgoing DMs
as alluded to in the comment, discord's anti-spam measures seem to weigh
DMs heavily
2026-03-31 00:17:40 -07:00
Skip R
1d77d59fd5 analytics: send when getting CAPTCHA challenge from discord
to help us find out which endpoints like to serve challenges
2026-03-31 00:15:49 -07:00
Skip R
51473cf210 connector: check if we're logged out much more 2026-03-10 22:58:40 -07:00
Skip R
2cd22e0100 properly handle 40002 errors 2026-03-10 21:04:23 -07:00
Skip R
0c0aa7e212 handlematrix: implement bridgev2.MuteHandlingNetworkAPI
(When used with Beeper, this is only effectively invoked when the bridge
is being used locally.)
2026-03-05 16:30:43 -08:00
Skip R
343ae04ea6 handlediscord: simplify threading support 2026-02-27 06:44:09 -08:00
Skip R
55c0272903 handlediscord: initial pass at threads support 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
Skip R
7a6f59ad73 handlematrix: bridge message edits 2026-02-09 15:04:33 -08:00
Skip R
869d8c5412 handlematrix: actually use the qualified emoji when reacting
By accessing reaction.Content.RelatesTo.Key we bypass the work done in
PreHandleMatrixReaction.
2026-02-04 12:44:33 -08:00
Skip R
9dfc91ff14 handlematrix: fully qualify reaction emojis 2026-02-03 21:07: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
Skip R
f5292e6a7d connector: first pass at bridging guilds
For each guild specified in the config, create a space and bridge all
contained text channels that the user has permissions to view.

* Finally add a custom config struct where we accept a list of guild IDs
  to bridge. This is intended to be temporary as we flesh out the proper
  interfaces for managing which guilds to bridge.
* Defined a custom meta type for portals that holds the containing guild
  ID of the channel (if any).
* Transferred the responsibility of building a channel's ChatInfo and
  ChatMemberList to the DiscordChatResync event itself.
2026-01-09 19:57:17 -08:00
Skip R
fdcfb2b083 chore: bump copyright year 2026-01-08 16:56:13 -08:00
Skip R
bfebeeb7e5 handlematrix: bridge outgoing typing events 2026-01-08 16:49:27 -08:00
Skip R
4314aa9206 handlematrix: simplify read receipt bridging 2026-01-06 18:10:50 -08:00
Skip R
761a850a50 handlematrix: bridge outgoing read receipts 2026-01-06 18:10:50 -08:00
Skip R
ca1168bfc2 clean up stray zerolog import 2026-01-06 16:49:10 -08:00
Skip R
e71075cd0d handlematrix: bridge outgoing message attachments 2026-01-05 22:29:26 -08:00
Skip R
d79406e05b handlematrix: clean up stale comment 2025-12-17 19:17:36 -08:00
Skip R
7a19f09683 handlematrix: bridge outgoing message redactions 2025-12-17 19:04:54 -08:00
Skip R
e030c9548c handlematrix: bridge outgoing reactions 2025-12-17 18:51:36 -08:00
Skip R
d82b74fb29 handlematrix: handle basic matrix rich text messages
Added the necessary room capabilities, too. Support for replies,
editing, deletion, and attachments are forthcoming.
2025-12-16 18:37:35 -08:00
Tulir Asokan
0a7b8bf41b all: init v2 and delete old bridge 2024-08-15 16:44:23 +03:00