Skip to content

Commit 2c55cf2

Browse files
committed
claimAddress if users logs in with an existing profile
1 parent 4a5355b commit 2c55cf2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/messenger-widget/src/hooks/auth/DeliveryServiceConnector.ts

+5
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@ export const DeliveryServiceConnector = (
110110
ensName: string,
111111
signedUserProfile: SignedUserProfile,
112112
): Promise<ConnectDsResult> => {
113+
await claimAddress(
114+
address,
115+
process.env.REACT_APP_RESOLVER_BACKEND as string,
116+
signedUserProfile,
117+
);
113118
const deliveryServiceToken = await submitUserProfile(
114119
{ ensName, profile: signedUserProfile.profile },
115120
mainnetProvider,

0 commit comments

Comments
 (0)