Fix device ID check, clean up prekey fetch logging (#1961)
* DeviceId is a string, so we use the less-strict comparison * Clean up prekey fetch logging
This commit is contained in:
parent
9b2e2a4605
commit
bbab4bba10
2 changed files with 4 additions and 4 deletions
|
@ -422,7 +422,7 @@ MessageSender.prototype = {
|
|||
var myDevice = textsecure.storage.user.getDeviceId();
|
||||
var now = Date.now();
|
||||
|
||||
if (myDevice === 1) {
|
||||
if (myDevice == 1) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue