From 8533ba645046e03378d7b9fd3048f15c05f332f7 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 25 Aug 2017 21:20:09 +0200 Subject: Handle xmpp ?join and ?message uris --- main/src/ui/chat_input/view.vala | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'main/src/ui/chat_input') diff --git a/main/src/ui/chat_input/view.vala b/main/src/ui/chat_input/view.vala index 3684e27c..06e59e54 100644 --- a/main/src/ui/chat_input/view.vala +++ b/main/src/ui/chat_input/view.vala @@ -13,6 +13,11 @@ public class View : Box { [GtkChild] private ScrolledWindow scrolled; [GtkChild] private TextView text_input; + public string text { + owned get { return text_input.buffer.text; } + set { text_input.buffer.text = value; } + } + private StreamInteractor stream_interactor; private Conversation? conversation; private HashMap entry_cache = new HashMap(Conversation.hash_func, Conversation.equals_func); -- cgit v1.2.3-54-g00ecf