Watch
1
0
Fork
You've already forked mautrix-discord
0
mirror of https://github.com/mautrix/discord.git synced 2026-11-09 23:59:17 -05:00
Commit graph

946 commits

Author SHA1 Message Date
Gerardo Rodriguez
effbd997df remoteauth: keep QR login sessions alive until they are scanned
The read loop held the client lock while blocked in Read, so heartbeats
could not be written and Discord closed every QR session after about a
minute. Read without the lock, and release the lock before closing on
the hello timeout so the timeout path cannot deadlock.
2026-11-09 14:07:57 +00:00
Gerardo Rodriguez
4cd87ec1b5
provisioning: use login_id from the request when given (#307) 2026-11-05 09:59:14 -05:00
Gerardo Rodriguez
52cff5853f
dependencies: update discordgo to retry non-JSON 429s (#302) 2026-11-05 14:23:11 +00:00
indent[bot]
13636de20f
handlediscord: look up deleted channel portals from the event's channel (#305)
Co-authored-by: Indent <noreply@indent.com>
2026-11-05 13:29:20 +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
Nick Mills-Barrett
d17912102c
pre-commit: install bridgelint with the CI Go toolchain (#306) 2026-11-05 13:08:41 +00:00
Nick Mills-Barrett
a8a0e0a57b
pre-commit: add bridgelint hook (#301) 2026-11-03 21:35:15 +00:00
Nick Mills-Barrett
28310fd806
login, startchat: return proper HTTP errors for login start and DM creation failures (#300) 2026-11-03 20:54:28 +00:00
indent[bot]
d93624c815
provisioning: don't abort guild unbridge when the client disconnects (#293)
Co-authored-by: Indent <noreply@indent.com>
2026-11-02 09:27:02 -05: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]
786d32096b
backfill: stop retrying channels Discord won't let us read (#283)
Co-authored-by: Indent <noreply@indent.com>
2026-11-01 13:16:38 -05: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
cbc53a658a
handlematrix: don't allow stranger DMs before account standing is known (#287) 2026-10-29 14:37:37 +00:00
Tulir Asokan
51fae00001 directmedia: add config option to proxy downloads 2026-10-29 16:07:15 +02:00
Nick Mills-Barrett
2ab5df8259
client: keep retrying the gateway and report drops as transient disconnects (#281) 2026-10-29 14:02:31 +00:00
Gerardo Rodriguez
7f73c93f36
handlematrix: accept message requests before replying (#280) 2026-10-29 09:59:58 -04:00
Tulir Asokan
053bd08826 Revert "directmedia: proxy attachment downloads instead of redirecting (#286)"
This reverts commit e0daf0ed13.
2026-10-29 15:42:45 +02:00
Gerardo Rodriguez
e0daf0ed13
directmedia: proxy attachment downloads instead of redirecting (#286) 2026-10-29 13:40:40 +00: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
Gerardo Rodriguez
e0d509263b
backfill: pass the channel read state as ReadUpTo (#279) 2026-10-26 12:21:02 -04:00
Gerardo Rodriguez
bf7bb1190e
login_machine: tell the user when Discord still wants email verification (#278) 2026-10-22 11:07:16 -04:00
Nick Mills-Barrett
e8de753a8d
client: don't leave a session open after Disconnect (#275) 2026-10-21 21:54:48 +02:00
Gerardo Rodriguez
d7da4169c9
startchat: support starting DMs, contact list and user search (#270) 2026-10-20 22:03:12 +02:00
Nick Mills-Barrett
f7e6160909
login_remoteauth: tolerate cancel before the client is created (#271) 2026-10-19 14:10:10 +01: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
bd79ef8276
handlediscord: attach captions added in edits to existing media instead of sending new parts (#268) 2026-10-16 12:57:54 -04:00
Gerardo Rodriguez
bce44c64dc
msgconv: fetch GIF stickers from media.discordapp.net (#269) 2026-10-16 07:07:39 -04:00
Gerardo Rodriguez
097d3397a3
handlediscord: bridge guild channels that become visible (#260) 2026-10-15 11:15:19 -04:00
Gerardo Rodriguez
540e2d9487
handlematrix: handle echoes of messages whose send timed out (#262) 2026-10-14 06:59:51 -04:00
Gerardo Rodriguez
7d2d590898
handlediscord: replace text part in place when edit turns it into media (#264) 2026-10-12 14:16:54 -04:00
Gerardo Rodriguez
accd7d3e29
chatinfo: inherit category mute for channels (#263) 2026-10-12 14:09:54 -04:00
Tulir Asokan
f70c356b2a capabilities: actually fix DM caps 2026-10-05 18:57:25 +03:00
Tulir Asokan
2116e16923 handlematrix: check current relationship before unblocking 2026-10-05 18:56:06 +03:00
Tulir Asokan
28187f2718 capabilities: fix DM thread capability 2026-10-05 18:53:35 +03:00
Tulir Asokan
d892da17a1 handle*: add support for blocking DM portals 2026-10-05 18:26:10 +03:00
Gerardo Rodriguez
6c79932f94
msgconv: Avoid dropping Discord messages with mentions or incomplete replies (#258) 2026-09-26 10:40:58 -04:00
Tulir Asokan
e83888f174 login,remoteauth: fix unsafe login cancellation 2026-09-02 17:05:40 +03:00
Tulir Asokan
c85f727c0e dependencies: update mautrix-go 2026-08-25 17:26:16 +03:00
Pierre Kisters
872958ba09
chatinfo: expose group DM recipients to channel name template (#245) 2026-08-25 13:25:05 +03:00
Tulir Asokan
3e27bb029b docker: update to Alpine 3.24 2026-08-25 13:17:14 +03:00
Tulir Asokan
281bf9c027 dependencies: bump minimum Go version to 1.26 2026-08-25 13:16:51 +03:00
Nick Mills-Barrett
6501891a2b
login: wrap and propagate errors (#242) 2026-08-12 18:23:39 +01:00
Nick Mills-Barrett
7b36a30cd1
dependencies: upgrade mautrix-go 2026-08-12 12:19:35 +01:00
Tulir Asokan
7e7ad561ca meowcord/wsapi: send standard Op 1 heartbeat for bot sessions
Sync from 8051e14a44
2026-08-08 12:08:17 +03:00
Skip R
1fbf12709a dependencies: update discordgo 2026-08-03 06:18:54 -07:00
Skip R
61d3e904b5 meow: sync discordgo 2026-08-03 06:18:41 -07:00
Skip R
005afd448c auth/machine: log converted errors 2026-08-02 19:43:57 -07:00