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 /main/src/ui/add_conversation | |
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 'main/src/ui/add_conversation')
-rw-r--r-- | main/src/ui/add_conversation/add_conference_dialog.vala | 2 | ||||
-rw-r--r-- | main/src/ui/add_conversation/select_contact_dialog.vala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/main/src/ui/add_conversation/add_conference_dialog.vala b/main/src/ui/add_conversation/add_conference_dialog.vala index c9bc42ad..fb1a2aca 100644 --- a/main/src/ui/add_conversation/add_conference_dialog.vala +++ b/main/src/ui/add_conversation/add_conference_dialog.vala @@ -141,7 +141,7 @@ public class AddConferenceDialog : Gtk.Dialog { private void on_joined(Account account, Jid jid, string nick) { if (account.equals(details_fragment.account) && jid.equals_bare(new Jid(details_fragment.jid))) { Conversation conversation = stream_interactor.get_module(ConversationManager.IDENTITY).create_conversation(jid, account, Conversation.Type.GROUPCHAT); - stream_interactor.get_module(ConversationManager.IDENTITY).start_conversation(conversation, true); + stream_interactor.get_module(ConversationManager.IDENTITY).start_conversation(conversation); conversation_opened(conversation); close(); } diff --git a/main/src/ui/add_conversation/select_contact_dialog.vala b/main/src/ui/add_conversation/select_contact_dialog.vala index 6b9d4947..b387787a 100644 --- a/main/src/ui/add_conversation/select_contact_dialog.vala +++ b/main/src/ui/add_conversation/select_contact_dialog.vala @@ -86,7 +86,7 @@ public class AddChatDialog : SelectContactDialog { ok_button.label = _("Start"); selected.connect((account, jid) => { Conversation conversation = stream_interactor.get_module(ConversationManager.IDENTITY).create_conversation(jid, account, Conversation.Type.CHAT); - stream_interactor.get_module(ConversationManager.IDENTITY).start_conversation(conversation, true); + stream_interactor.get_module(ConversationManager.IDENTITY).start_conversation(conversation); added(conversation); }); } |