Changes in protocols/jabber/iq.c [5ebff60:0e4c3dd]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/iq.c
r5ebff60 r0e4c3dd 27 27 static xt_status jabber_parse_roster(struct im_connection *ic, struct xt_node *node, struct xt_node *orig); 28 28 static xt_status jabber_iq_display_vcard(struct im_connection *ic, struct xt_node *node, struct xt_node *orig); 29 static int jabber_iq_disco_server(struct im_connection *ic);30 29 31 30 xt_status jabber_pkt_iq(struct xt_node *node, gpointer data) … … 388 387 char *name = xt_find_attr(c, "name"); 389 388 char *sub = xt_find_attr(c, "subscription"); 389 char *mention_name = xt_find_attr(c, "mention_name"); 390 char *nick = mention_name ? : name; 390 391 391 392 if (jid && sub) { … … 396 397 if (name) { 397 398 imcb_rename_buddy(ic, jid, name); 399 } 400 401 if (nick) { 402 imcb_buddy_nick_hint(ic, jid, nick); 398 403 } 399 404 } else if (strcmp(sub, "remove") == 0) { … … 855 860 struct xt_node *node, struct xt_node *orig); 856 861 857 staticint jabber_iq_disco_server(struct im_connection *ic)862 int jabber_iq_disco_server(struct im_connection *ic) 858 863 { 859 864 struct xt_node *node, *iq;
Note: See TracChangeset
for help on using the changeset viewer.