Changeset 3fbce97 for protocols/jabber/presence.c
- Timestamp:
- 2016-09-24T20:14:34Z (8 years ago)
- Children:
- ba52ac5
- Parents:
- 63cad66 (diff), 82cb190 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/presence.c
r63cad66 r3fbce97 186 186 char *prio = set_getstr(&ic->acc->set, "priority"); 187 187 188 if (jd->away_state ->code != NULL) {188 if (jd->away_state && jd->away_state->full_name != NULL) { 189 189 int new_prio = (atoi(prio) - 5); 190 190 if (new_prio < 0) { … … 222 222 cap = xt_new_node("c", NULL, NULL); 223 223 xt_add_attr(cap, "xmlns", XMLNS_CAPS); 224 xt_add_attr(cap, "node", "http://bitlbee.org/xmpp/caps"); 224 225 if (jd->flags & JFLAG_HIPCHAT) { 226 /* hipchat specific node, whitelisted by request to receive self-messages */ 227 xt_add_attr(cap, "node", "http://bitlbee.org/xmpp/caps/hipchat"); 228 } else { 229 xt_add_attr(cap, "node", "http://bitlbee.org/xmpp/caps"); 230 } 225 231 xt_add_attr(cap, "ver", BITLBEE_VERSION); /* The XEP wants this hashed, but nobody's doing that. */ 226 232 xt_add_child(node, cap);
Note: See TracChangeset
for help on using the changeset viewer.