Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabber/xmpp_muc.c @ 1920:bfa507815e0c
Add caps to presence when joining a MUC room
(Noticed by diSabler)
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 09 Nov 2010 12:44:53 +0100 |
parents | e2def760c6d0 |
children | 26e437e79e60 |
line wrap: on
line diff
--- a/mcabber/mcabber/xmpp_muc.c Tue Nov 09 12:09:23 2010 +0100 +++ b/mcabber/mcabber/xmpp_muc.c Tue Nov 09 12:44:53 2010 +0100 @@ -147,6 +147,7 @@ // Send the XML request x = lm_message_new_presence(mystatus, roomid, mystatusmsg); + xmpp_insert_entity_capabilities(x->node, mystatus); // Entity Caps (XEP-0115) y = lm_message_node_add_child(x->node, "x", NULL); lm_message_node_set_attribute(y, "xmlns", NS_MUC); if (passwd)