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
This commit is contained in:
Scott Nonnenberg 2017-09-08 11:14:01 -07:00 committed by GitHub
parent 3a733ea10a
commit 69af8d2651

View file

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