aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/occupant_menu/view.vala
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/occupant_menu/view.vala')
-rw-r--r--main/src/ui/occupant_menu/view.vala3
1 files changed, 3 insertions, 0 deletions
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() {