mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-29 21:00:58 +01:00
Update last seen indicator even if window doesn't have focus
FREEBIE
This commit is contained in:
@@ -327,7 +327,10 @@
|
||||
this.model.messageCollection.add(message, {merge: true});
|
||||
message.setToExpire();
|
||||
|
||||
if (!this.isHidden() && window.isFocused()) {
|
||||
if (!this.isHidden() && !window.isFocused()) {
|
||||
this.updateLastSeenIndicator();
|
||||
}
|
||||
else if (!this.isHidden() && window.isFocused()) {
|
||||
this.removeLastSeenIndicator();
|
||||
this.markRead();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user