mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Fixes to get local verification and sync messages working
FREEBIE
This commit is contained in:
@@ -305,7 +305,7 @@ MessageSender.prototype = {
|
||||
return this.sendIndividualProto(myNumber, contentMessage, Date.now());
|
||||
}
|
||||
},
|
||||
syncVerification: function(state, destination, identityKey) {
|
||||
syncVerification: function(destination, state, identityKey) {
|
||||
var myNumber = textsecure.storage.user.getNumber();
|
||||
var myDevice = textsecure.storage.user.getDeviceId();
|
||||
if (myDevice != 1) {
|
||||
@@ -568,7 +568,7 @@ textsecure.MessageSender = function(url, ports, username, password) {
|
||||
this.sendSyncMessage = sender.sendSyncMessage .bind(sender);
|
||||
this.getProfile = sender.getProfile .bind(sender);
|
||||
this.syncReadMessages = sender.syncReadMessages .bind(sender);
|
||||
this.syncVerification = sender.syncReadMessages .bind(sender);
|
||||
this.syncVerification = sender.syncVerification .bind(sender);
|
||||
};
|
||||
|
||||
textsecure.MessageSender.prototype = {
|
||||
|
||||
Reference in New Issue
Block a user