diff options
author | dequis <dx@dxzone.com.ar> | 2016-01-21 03:15:44 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2016-01-21 03:15:44 -0300 |
commit | 7e68015a3f67d417b07e395280035aaa74c6a2c8 (patch) | |
tree | 24bd0eb75fec21206045dbc86e010613d875aed4 /protocols/jabber/presence.c | |
parent | 82cb190c9932c641e790286cbe03c2f691889a57 (diff) |
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.
Diffstat (limited to 'protocols/jabber/presence.c')
-rw-r--r-- | protocols/jabber/presence.c | 8 |
1 files changed, 1 insertions, 7 deletions
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); |