Skip to content

Commit

Permalink
Send identity evts on handle change (#2209)
Browse files Browse the repository at this point in the history
missed a couple
  • Loading branch information
dholms authored Feb 21, 2024
1 parent 6dfc899 commit 6b8d1c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down
1 change: 1 addition & 0 deletions packages/pds/src/api/com/atproto/identity/updateHandle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 6b8d1c6

Please sign in to comment.