Remove last seen indicator if we get a sync'd outgoing message (#1805)

This mirrors the way Android does things.
pull/749/head
Scott Nonnenberg 7 years ago committed by GitHub
parent 8cba7d26aa
commit 83428e5b81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -646,6 +646,9 @@
this.model.messageCollection.add(message, {merge: true});
message.setToExpire();
if (message.isOutgoing()) {
this.removeLastSeenIndicator();
}
if (this.lastSeenIndicator) {
this.lastSeenIndicator.increment(1);
}

Loading…
Cancel
Save