aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/application.vala
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 /main/src/ui/application.vala
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 'main/src/ui/application.vala')
-rw-r--r--main/src/ui/application.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/application.vala b/main/src/ui/application.vala
index 29dec20c..6ea8eb01 100644
--- a/main/src/ui/application.vala
+++ b/main/src/ui/application.vala
@@ -66,7 +66,7 @@ public class Dino.Ui.Application : Gtk.Application, Dino.Application {
Gee.List<Account> accounts = stream_interactor.get_accounts();
if (accounts.size == 1) {
Conversation conversation = stream_interactor.get_module(ConversationManager.IDENTITY).create_conversation(new Jid(jid), accounts[0], Conversation.Type.CHAT);
- stream_interactor.get_module(ConversationManager.IDENTITY).start_conversation(conversation, true);
+ stream_interactor.get_module(ConversationManager.IDENTITY).start_conversation(conversation);
window.on_conversation_selected(conversation);
} else {
AddChatDialog dialog = new AddChatDialog(stream_interactor, stream_interactor.get_accounts());