aboutsummaryrefslogtreecommitdiff
path: root/libdino/src
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-04-18 22:38:16 +0200
committerfiaxh <git@lightrise.org>2019-04-24 23:44:00 +0200
commitcbe0ff2c1d6eb86520fdba05183f33cd4f262bcd (patch)
treed127686d9b996f4bd4f03e404291cd5cec3bbe14 /libdino/src
parenta960740c3e88a16d5c7e10ff8594475d95894721 (diff)
downloaddino-cbe0ff2c1d6eb86520fdba05183f33cd4f262bcd.tar.gz
dino-cbe0ff2c1d6eb86520fdba05183f33cd4f262bcd.zip
Don't move opened conversation to the top of the list, scroll along with selected conversation
fixes #544
Diffstat (limited to 'libdino/src')
-rw-r--r--libdino/src/service/conversation_manager.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdino/src/service/conversation_manager.vala b/libdino/src/service/conversation_manager.vala
index 1965e13d..66efe56e 100644
--- a/libdino/src/service/conversation_manager.vala
+++ b/libdino/src/service/conversation_manager.vala
@@ -95,8 +95,8 @@ public class ConversationManager : StreamInteractionModule, Object {
return ret;
}
- public void start_conversation(Conversation conversation, bool push_front = false) {
- if (push_front) {
+ public void start_conversation(Conversation conversation) {
+ if (conversation.last_active == null) {
conversation.last_active = new DateTime.now_utc();
if (conversation.active) conversation_activated(conversation);
}