mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 18:38:15 +01:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user