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:
parent
3a733ea10a
commit
69af8d2651
1 changed files with 5 additions and 0 deletions
|
@ -428,6 +428,11 @@
|
||||||
options = options || {};
|
options = options || {};
|
||||||
_.defaults(options, {local: true});
|
_.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();
|
var lastMessage = this.get('timestamp') || Date.now();
|
||||||
|
|
||||||
console.log('adding verified change advisory for', this.id, id, lastMessage);
|
console.log('adding verified change advisory for', this.id, id, lastMessage);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue