From 7e68015a3f67d417b07e395280035aaa74c6a2c8 Mon Sep 17 00:00:00 2001 From: dequis Date: Thu, 21 Jan 2016 03:15:44 -0300 Subject: Revert "hipchat: Implement their own variant of self-messages [...]" This reverts commit d11ccbf6ea94264bde8b0f525c4bbedf50de0174. After thinking about this long enough I've decided this is a bad idea, and better wait for the hipchat server to support carbons. --- protocols/jabber/presence.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'protocols/jabber/presence.c') diff --git a/protocols/jabber/presence.c b/protocols/jabber/presence.c index 6ee9ff0a..14060148 100644 --- a/protocols/jabber/presence.c +++ b/protocols/jabber/presence.c @@ -221,13 +221,7 @@ int presence_send_update(struct im_connection *ic) Trillian seem to do this right. */ cap = xt_new_node("c", NULL, NULL); xt_add_attr(cap, "xmlns", XMLNS_CAPS); - - if (jd->flags & JFLAG_HIPCHAT) { - /* hipchat specific node, whitelisted by request to receive self-messages */ - xt_add_attr(cap, "node", "http://bitlbee.org/xmpp/caps/hipchat"); - } else { - xt_add_attr(cap, "node", "http://bitlbee.org/xmpp/caps"); - } + xt_add_attr(cap, "node", "http://bitlbee.org/xmpp/caps"); xt_add_attr(cap, "ver", BITLBEE_VERSION); /* The XEP wants this hashed, but nobody's doing that. */ xt_add_child(node, cap); -- cgit v1.2.3