parent
34ae81c30d
commit
30aa13079f
2 changed files with 2 additions and 2 deletions
|
@ -37718,7 +37718,7 @@ textsecure.MessageSender.prototype = {
|
|||
window.textsecure = window.textsecure || {};
|
||||
|
||||
function SyncRequest(sender, receiver) {
|
||||
if (!(sender instanceof MessageSender) || !(receiver instanceof MessageReceiver)) {
|
||||
if (!(sender instanceof textsecure.MessageSender) || !(receiver instanceof textsecure.MessageReceiver)) {
|
||||
throw new Error('Tried to construct a SyncRequest without MessageSender and MessageReceiver');
|
||||
}
|
||||
this.receiver = receiver;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
window.textsecure = window.textsecure || {};
|
||||
|
||||
function SyncRequest(sender, receiver) {
|
||||
if (!(sender instanceof MessageSender) || !(receiver instanceof MessageReceiver)) {
|
||||
if (!(sender instanceof textsecure.MessageSender) || !(receiver instanceof textsecure.MessageReceiver)) {
|
||||
throw new Error('Tried to construct a SyncRequest without MessageSender and MessageReceiver');
|
||||
}
|
||||
this.receiver = receiver;
|
||||
|
|
Loading…
Reference in a new issue