From dbfa9d0f2b797de442b9654ca28b10240d405604 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Tue, 10 Feb 2026 16:42:02 +1300 Subject: [PATCH] Sync PK member profile on first message First time a PK member sends a message in the channel, Discord sends a MESSAGE_UPDATE with the proper avatar data for them. OOYE's speedbump means sending this message will actually take the edit message path. The edit message path previously did not force a profile sync. This is why the Matrix profile did always show up after their second message, because that message was not updated and took the send path. --- src/d2m/actions/edit-message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d2m/actions/edit-message.js b/src/d2m/actions/edit-message.js index 57b8f41..f86a9c8 100644 --- a/src/d2m/actions/edit-message.js +++ b/src/d2m/actions/edit-message.js @@ -30,7 +30,7 @@ async function editMessage(message, guild, row) { if (row && row.speedbump_webhook_id === message.webhook_id) { // Handle the PluralKit public instance if (row.speedbump_id === "466378653216014359") { - senderMxid = await registerPkUser.syncUser(message.id, message.author, roomID, false) + senderMxid = await registerPkUser.syncUser(message.id, message.author, roomID, true) } }