aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/chat_input
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-08-25 21:20:09 +0200
committerfiaxh <git@mx.ax.lt>2017-08-25 22:30:03 +0200
commit8533ba645046e03378d7b9fd3048f15c05f332f7 (patch)
tree8e616e8ac8e598bff9b45dd2237e94361b3635f6 /main/src/ui/chat_input
parentf3e587d7663edd6dd2bdb2c87a337156d2e9d0e9 (diff)
downloaddino-8533ba645046e03378d7b9fd3048f15c05f332f7.tar.gz
dino-8533ba645046e03378d7b9fd3048f15c05f332f7.zip
Handle xmpp ?join and ?message uris
Diffstat (limited to 'main/src/ui/chat_input')
-rw-r--r--main/src/ui/chat_input/view.vala5
1 files changed, 5 insertions, 0 deletions
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<Conversation, string> entry_cache = new HashMap<Conversation, string>(Conversation.hash_func, Conversation.equals_func);