mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Use /v1/accounts/whoami instead of looking up our username and link
This commit is contained in:
committed by
GitHub
parent
a184fd377f
commit
a1a15193c6
@@ -885,7 +885,8 @@ const whoamiResultZod = z.object({
|
||||
uuid: z.string(),
|
||||
pni: z.string(),
|
||||
number: z.string(),
|
||||
username: z.string().or(z.null()).optional(),
|
||||
usernameHash: z.string().or(z.null()).optional(),
|
||||
usernameLinkHandle: z.string().or(z.null()).optional(),
|
||||
});
|
||||
export type WhoamiResultType = z.infer<typeof whoamiResultZod>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user