mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Generate PNI key on standalone registration
This commit is contained in:
@@ -2036,7 +2036,7 @@ export default class MessageSender {
|
||||
// Simple pass-throughs
|
||||
|
||||
async getProfile(
|
||||
number: string,
|
||||
uuid: UUID,
|
||||
options: Readonly<{
|
||||
accessKey?: string;
|
||||
profileKeyVersion: string;
|
||||
@@ -2051,10 +2051,10 @@ export default class MessageSender {
|
||||
...options,
|
||||
accessKey,
|
||||
};
|
||||
return this.server.getProfileUnauth(number, unauthOptions);
|
||||
return this.server.getProfileUnauth(uuid.toString(), unauthOptions);
|
||||
}
|
||||
|
||||
return this.server.getProfile(number, options);
|
||||
return this.server.getProfile(uuid.toString(), options);
|
||||
}
|
||||
|
||||
async checkAccountExistence(uuid: UUID): Promise<boolean> {
|
||||
|
||||
Reference in New Issue
Block a user