Don't show notification for verified state change with yourself (#1454)

* Don't show notifications for verified state change with yourself

It's confusing to users, and it really doesn't mean anything anyway.

FREEBIE

* Add log statement that we've suppressed a verified notification

FREEBIE
pull/749/head
Scott Nonnenberg 8 years ago committed by GitHub
parent 3a733ea10a
commit 69af8d2651

@ -428,6 +428,11 @@
options = options || {};
_.defaults(options, {local: true});
if (this.isMe()) {
console.log('refusing to add verified change advisory for our own number');
return;
}
var lastMessage = this.get('timestamp') || Date.now();
console.log('adding verified change advisory for', this.id, id, lastMessage);

Loading…
Cancel
Save