about summary refs log tree commit diff stats
path: root/src/xmpp
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-02-17 16:50:44 +0000
committerJames Booth <boothj5@gmail.com>2013-02-17 16:50:44 +0000
commit5a107459be1d8642897a6efc8ded10f3c7bb4f6c (patch)
tree5dfe2f22baab0497ea37c403f776553d0484df3a /src/xmpp
parent1a913b7d9bef2ce4c0449e0c93f82e6331792558 (diff)
downloadprofani-tty-5a107459be1d8642897a6efc8ded10f3c7bb4f6c.tar.gz
Tidied new command output, ordered features
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/capabilities.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/xmpp/capabilities.c b/src/xmpp/capabilities.c
index f127b75c..8deacfc4 100644
--- a/src/xmpp/capabilities.c
+++ b/src/xmpp/capabilities.c
@@ -267,11 +267,12 @@ caps_create_query_response_stanza(xmpp_ctx_t * const ctx)
     xmpp_stanza_set_attribute(feature_ping, STANZA_ATTR_VAR, STANZA_NS_PING);
 
     xmpp_stanza_add_child(query, identity);
-    xmpp_stanza_add_child(query, feature_muc);
-    xmpp_stanza_add_child(query, feature_discoinfo);
+
     xmpp_stanza_add_child(query, feature_caps);
-    xmpp_stanza_add_child(query, feature_version);
     xmpp_stanza_add_child(query, feature_chatstates);
+    xmpp_stanza_add_child(query, feature_discoinfo);
+    xmpp_stanza_add_child(query, feature_muc);
+    xmpp_stanza_add_child(query, feature_version);
     xmpp_stanza_add_child(query, feature_ping);
 
     xmpp_stanza_release(identity);