From cbe0ff2c1d6eb86520fdba05183f33cd4f262bcd Mon Sep 17 00:00:00 2001 From: fiaxh Date: Thu, 18 Apr 2019 22:38:16 +0200 Subject: Don't move opened conversation to the top of the list, scroll along with selected conversation fixes #544 --- libdino/src/service/conversation_manager.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdino/src') 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); } -- cgit v1.2.3-70-g09d2