From 9ef4dddfdc40f515be6c780bf9fa089111590a74 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sat, 21 Dec 2019 19:19:28 +0100 Subject: Fix+improve conversation selection when joining channel or starting MUC PM --- main/src/ui/occupant_menu/view.vala | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main/src/ui/occupant_menu') diff --git a/main/src/ui/occupant_menu/view.vala b/main/src/ui/occupant_menu/view.vala index defc2e1c..663e7505 100644 --- a/main/src/ui/occupant_menu/view.vala +++ b/main/src/ui/occupant_menu/view.vala @@ -107,6 +107,9 @@ public class View : Popover { Conversation conversation = stream_interactor.get_module(ConversationManager.IDENTITY).create_conversation(list_row.jid, list_row.conversation.account, Conversation.Type.GROUPCHAT_PM); stream_interactor.get_module(ConversationManager.IDENTITY).start_conversation(conversation); + + Application app = GLib.Application.get_default() as Application; + app.controller.select_conversation(conversation); } private void kick_button_clicked() { -- cgit v1.2.3-70-g09d2