aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/chat_input
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2023-09-24 19:54:04 +0200
committerfiaxh <git@lightrise.org>2023-09-24 19:54:04 +0200
commite2c34bf2235c9f85fc91de9c0f1b74858f4ef89e (patch)
treef5565f57a7cbea8a13748e8a1c613540bbb4d76c /main/src/ui/chat_input
parent9eafe4139d6b2c0cabe3c77a903d6ae931a26975 (diff)
downloaddino-e2c34bf2235c9f85fc91de9c0f1b74858f4ef89e.tar.gz
dino-e2c34bf2235c9f85fc91de9c0f1b74858f4ef89e.zip
Rewrite contact details dialog
Diffstat (limited to 'main/src/ui/chat_input')
-rw-r--r--main/src/ui/chat_input/chat_input_controller.vala5
1 files changed, 2 insertions, 3 deletions
diff --git a/main/src/ui/chat_input/chat_input_controller.vala b/main/src/ui/chat_input/chat_input_controller.vala
index d9608a85..d1c42d35 100644
--- a/main/src/ui/chat_input/chat_input_controller.vala
+++ b/main/src/ui/chat_input/chat_input_controller.vala
@@ -54,9 +54,8 @@ public class ChatInputController : Object {
status_description_label.activate_link.connect((uri) => {
if (uri == OPEN_CONVERSATION_DETAILS_URI){
- ContactDetails.Dialog contact_details_dialog = new ContactDetails.Dialog(stream_interactor, conversation);
- contact_details_dialog.set_transient_for((Gtk.Window) chat_input.get_root());
- contact_details_dialog.present();
+ var conversation_details = ConversationDetails.setup_dialog(conversation, stream_interactor, (Window)chat_input.get_root());
+ conversation_details.present();
}
return true;
});