Skip to content

Commit

Permalink
oh so thats why the mentions did not work
Browse files Browse the repository at this point in the history
  • Loading branch information
gabboman committed Jan 22, 2025
1 parent f2f5cd2 commit 10ed72c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/backend/atproto/utils/getAtprotoUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ async function forcePopulateUsers(dids: string[], localUser: Model<any, any>) {
headerImage: data.banner,
// bsky does not has this function lol
manuallyAcceptsFollows: false,
updatedAt: new Date()
updatedAt: new Date(),
activated: true
}
})
)
Expand Down Expand Up @@ -108,7 +109,8 @@ async function getAtprotoUser(handle: string, localUser: Model<any, any>, petiti
headerImage: data.banner,
// bsky does not has this function lol
manuallyAcceptsFollows: false,
updatedAt: new Date()
updatedAt: new Date(),
activated: true
}
userFound = userFound ? userFound : await internalGetDBUser(newData.bskyDid, newData.url)
if (userFound && !userFound.email) {
Expand Down

0 comments on commit 10ed72c

Please sign in to comment.