diff options
author | fiaxh <git@mx.ax.lt> | 2017-05-24 17:28:39 +0200 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-05-24 17:29:17 +0200 |
commit | 142257a544b36e60b738e55e5f9f096f1169c389 (patch) | |
tree | 0e02590f59615689b4c77dbe5b23e51fd04bb96f /main/src/ui/chat_input/view.vala | |
parent | bcb96909c9b53c2ca5287433f2fef103b0ddf317 (diff) | |
download | dino-142257a544b36e60b738e55e5f9f096f1169c389.tar.gz dino-142257a544b36e60b738e55e5f9f096f1169c389.zip |
fixup bcb9690 (Roster versioning)
Diffstat (limited to 'main/src/ui/chat_input/view.vala')
-rw-r--r-- | main/src/ui/chat_input/view.vala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/ui/chat_input/view.vala b/main/src/ui/chat_input/view.vala index 3c5baa41..0887de25 100644 --- a/main/src/ui/chat_input/view.vala +++ b/main/src/ui/chat_input/view.vala @@ -61,6 +61,10 @@ public class View : Box { case "/nick": stream_interactor.get_module(MucManager.IDENTITY).change_nick(conversation.account, conversation.counterpart, token[1]); break; + case "/ping": + Xmpp.Core.XmppStream? stream = stream_interactor.get_stream(conversation.account); + stream.get_module(Xmpp.Xep.Ping.Module.IDENTITY).send_ping(stream, conversation.counterpart.to_string() + "/" + token[1], null); + break; case "/topic": stream_interactor.get_module(MucManager.IDENTITY).change_subject(conversation.account, conversation.counterpart, token[1]); break; |