Handle provisioning messages with no profile key (#1470)
This can happen while linking to an older mobile client. // FREEBIE
This commit is contained in:
parent
c832324cb9
commit
fc952fbaf6
3 changed files with 16 additions and 6 deletions
|
@ -220,7 +220,9 @@
|
|||
textsecure.storage.put('signaling_key', signalingKey);
|
||||
textsecure.storage.put('password', password);
|
||||
textsecure.storage.put('registrationId', registrationId);
|
||||
textsecure.storage.put('profileKey', profileKey);
|
||||
if (profileKey) {
|
||||
textsecure.storage.put('profileKey', profileKey);
|
||||
}
|
||||
if (userAgent) {
|
||||
textsecure.storage.put('userAgent', userAgent);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue