Watch
1
0
Fork
You've already forked mautrix-discord
0
mirror of https://github.com/mautrix/discord.git synced 2026-11-11 16:49:18 -05:00
mautrix-discord/pkg/connector
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nick Mills-Barrett d9aed49223
login,remoteauth: handle captcha when redeeming login ticket
Discord may challenge the remote auth ticket exchange with an hCaptcha,
which previously ended the QR login. Return the same cookies step the
machine login uses and retry the redeem with the solution.

The hello timeout goroutine also no longer calls Close while holding the
client lock, which deadlocked once the timeout elapsed mid-captcha.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 13:36:39 +01:00
..
discorddb dependencies: update mautrix-go 2026-07-20 15:18:11 +03:00
backfill.go make method receiver names more consistent 2026-04-06 20:45:01 -07:00
capabilities.go capabilities: enable aggressive ghost info updates 2026-06-16 18:21:49 -07:00
chatinfo.go chatinfo: expose group DM recipients to channel name template (#245) 2026-08-25 13:25:05 +03:00
client.go connector: don't explode if Session.User is nil after Open 2026-07-15 20:46:16 -07:00
client_vitals.go connector: defer full sync until we have good vitals 2026-07-15 18:28:32 -07:00
config.go chatinfo: expose group DM recipients to channel name template (#245) 2026-08-25 13:25:05 +03:00
config_test.go chatinfo: expose group DM recipients to channel name template (#245) 2026-08-25 13:25:05 +03:00
connector.go disable per-message-profile hack by default 2026-06-18 22:08:38 -07:00
dbmeta.go connector: first pass at bridging guilds 2026-01-09 19:57:17 -08:00
directmedia.go make method receiver names more consistent 2026-04-06 20:45:01 -07:00
directmedia_cache.go directmedia: reimplement in-memory URL cache 2026-03-23 21:58:05 -07:00
directmedia_test.go directmedia: sketch implementation 2026-03-20 02:39:40 -07:00
emoji.go deps: bump discordgo 2026-04-21 19:35:25 -07:00
errorcodes.go errorcodes: fix comment 2026-07-16 16:38:55 -07:00
events_chat_resync.go connector: resync all existing private portals upon connect 2026-07-02 05:18:56 -07:00
events_guild_resync.go handlediscord: bridge categories with proper parenting 2026-02-13 21:05:35 -08:00
example-config.yaml chatinfo: expose group DM recipients to channel name template (#245) 2026-08-25 13:25:05 +03:00
handlediscord.go connector: don't explode if Session.User is nil after Open 2026-07-15 20:46:16 -07:00
handlematrix.go handlematrix: backport stranger dm prevention from v1 2026-05-13 03:13:02 -07:00
id.go lint 2026-03-04 20:43:34 -08:00
login.go login: wrap and propagate errors (#242) 2026-08-12 18:23:39 +01:00
login_browser.go login: fix flow IDs 2026-01-28 17:21:19 +02:00
login_generic.go login: wrap and propagate errors (#242) 2026-08-12 18:23:39 +01:00
login_machine.go login,remoteauth: handle captcha when redeeming login ticket 2026-09-24 13:36:39 +01:00
login_remoteauth.go login,remoteauth: handle captcha when redeeming login ticket 2026-09-24 13:36:39 +01:00
login_token.go login/token: relax token regex 2026-04-28 20:09:50 -07:00
provisioning.go provisioning: log errors if we fail to sync guild 2026-07-02 13:31:35 -07:00
proxy.go proxy: add settings to conditionalize proxying for login flows 2026-06-15 10:02:54 -07:00
role.go handlediscord: sync roles from guilds 2026-02-27 06:44:09 -08:00
router.go router: log when creating an uncertain route 2026-03-11 19:13:07 -07:00
session.go connector: always TLS cloak, even without a proxy configured 2026-06-12 11:59:36 -07:00
thread.go connector: check if we're logged out much more 2026-03-10 22:58:40 -07:00
usercache.go handlediscord: update ghost info in response to PRESENCE_UPDATE 2026-06-16 18:27:30 -07:00
userinfo.go connector/chatinfo,userinfo: permit when "logged out" 2026-07-15 20:27:09 -07:00
vitals.go vitals: lock state reads 2026-07-15 20:21:54 -07:00
vitals.md doc: vitals 2026-07-16 16:39:01 -07:00