Remove last seen indicator if we get a sync'd outgoing message (#1805)
This mirrors the way Android does things.
This commit is contained in:
parent
8cba7d26aa
commit
83428e5b81
1 changed files with 3 additions and 0 deletions
|
@ -646,6 +646,9 @@
|
||||||
this.model.messageCollection.add(message, {merge: true});
|
this.model.messageCollection.add(message, {merge: true});
|
||||||
message.setToExpire();
|
message.setToExpire();
|
||||||
|
|
||||||
|
if (message.isOutgoing()) {
|
||||||
|
this.removeLastSeenIndicator();
|
||||||
|
}
|
||||||
if (this.lastSeenIndicator) {
|
if (this.lastSeenIndicator) {
|
||||||
this.lastSeenIndicator.increment(1);
|
this.lastSeenIndicator.increment(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue