diff options
author | fiaxh <git@lightrise.org> | 2019-04-18 22:38:16 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-04-24 23:44:00 +0200 |
commit | cbe0ff2c1d6eb86520fdba05183f33cd4f262bcd (patch) | |
tree | d127686d9b996f4bd4f03e404291cd5cec3bbe14 /libdino/src/service | |
parent | a960740c3e88a16d5c7e10ff8594475d95894721 (diff) | |
download | dino-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/service')
-rw-r--r-- | libdino/src/service/conversation_manager.vala | 4 |
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); } |