[smuxi] Frontend-GNOME: mark messages of current chat as seen on quit (refs: #1058)
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi] Frontend-GNOME: mark messages of current chat as seen on quit (refs: #1058)
- Date: Sun, 24 May 2015 12:29:54 +0000 (UTC)
commit 699190829e795c03c98e259eb543e72b1860a1fd
Author: Mirco Bauer <meebey meebey net>
Date: Sun May 24 14:27:20 2015 +0200
Frontend-GNOME: mark messages of current chat as seen on quit (refs: #1058)
The issue is that Smuxi only marks messages as seen when the user switches away
from the current chat. This does not happen if the user was following the
currently visible chat and then quits Smuxi. Thus Smuxi has to mark the messages
of the current chat as seen on quit.
src/Frontend-GNOME/Frontend.cs | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/Frontend-GNOME/Frontend.cs b/src/Frontend-GNOME/Frontend.cs
index f0f1d37..574e73d 100644
--- a/src/Frontend-GNOME/Frontend.cs
+++ b/src/Frontend-GNOME/Frontend.cs
@@ -505,6 +505,12 @@ namespace Smuxi.Frontend.Gnome
}
}
+ // sync last seen message of current chat
+ var currentChatView = _MainWindow.ChatViewManager.CurrentChatView;
+ if (!UseLowBandwidthMode && currentChatView != null) {
+ currentChatView.UpdateLastSeenMessage();
+ }
+
DisconnectEngineFromGUI();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]