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

FREEBIE
pull/749/head
Scott Nonnenberg 8 years ago committed by GitHub
parent b14667ae40
commit 4011e26b50

@ -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) {

@ -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) {

Loading…
Cancel
Save