Fix handling of sync message with blocked numbers (#1411)

FREEBIE
This commit is contained in:
Scott Nonnenberg 2017-08-30 11:55:17 -07:00 committed by GitHub
parent b14667ae40
commit 4011e26b50
2 changed files with 2 additions and 2 deletions

View file

@ -38888,7 +38888,7 @@ MessageReceiver.prototype.extend({
}.bind(this));
}.bind(this));
},
handleBlocked: function(blocked) {
handleBlocked: function(envelope, blocked) {
textsecure.storage.put('blocked', blocked.numbers);
},
isBlocked: function(number) {

View file

@ -637,7 +637,7 @@ MessageReceiver.prototype.extend({
}.bind(this));
}.bind(this));
},
handleBlocked: function(blocked) {
handleBlocked: function(envelope, blocked) {
textsecure.storage.put('blocked', blocked.numbers);
},
isBlocked: function(number) {