From 6b8d1c641e1534e4fea76cf05502b9d706ff571a Mon Sep 17 00:00:00 2001 From: Daniel Holmgren Date: Wed, 21 Feb 2024 15:50:05 -0600 Subject: [PATCH] Send identity evts on handle change (#2209) missed a couple --- packages/pds/src/api/com/atproto/admin/updateAccountHandle.ts | 1 + packages/pds/src/api/com/atproto/identity/updateHandle.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/pds/src/api/com/atproto/admin/updateAccountHandle.ts b/packages/pds/src/api/com/atproto/admin/updateAccountHandle.ts index 627f1aaebc9..1d4e1189c83 100644 --- a/packages/pds/src/api/com/atproto/admin/updateAccountHandle.ts +++ b/packages/pds/src/api/com/atproto/admin/updateAccountHandle.ts @@ -49,6 +49,7 @@ export default function (server: Server, ctx: AppContext) { try { await ctx.sequencer.sequenceHandleUpdate(did, handle) + await ctx.sequencer.sequenceIdentityEvt(did) } catch (err) { httpLogger.error( { err, did, handle }, diff --git a/packages/pds/src/api/com/atproto/identity/updateHandle.ts b/packages/pds/src/api/com/atproto/identity/updateHandle.ts index eb1bce9593c..06f836a83ff 100644 --- a/packages/pds/src/api/com/atproto/identity/updateHandle.ts +++ b/packages/pds/src/api/com/atproto/identity/updateHandle.ts @@ -57,6 +57,7 @@ export default function (server: Server, ctx: AppContext) { try { await ctx.sequencer.sequenceHandleUpdate(requester, handle) + await ctx.sequencer.sequenceIdentityEvt(requester) } catch (err) { httpLogger.error( { err, did: requester, handle },