Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/iq.c

    r40cfbc5 r5ebff60  
    2727static xt_status jabber_parse_roster(struct im_connection *ic, struct xt_node *node, struct xt_node *orig);
    2828static xt_status jabber_iq_display_vcard(struct im_connection *ic, struct xt_node *node, struct xt_node *orig);
     29static int jabber_iq_disco_server(struct im_connection *ic);
    2930
    3031xt_status jabber_pkt_iq(struct xt_node *node, gpointer data)
     
    373374static xt_status jabber_parse_roster(struct im_connection *ic, struct xt_node *node, struct xt_node *orig)
    374375{
    375         struct jabber_data *jd = ic->proto_data;
    376376        struct xt_node *query, *c;
    377377        int initial = (orig != NULL);
     
    388388                char *name = xt_find_attr(c, "name");
    389389                char *sub = xt_find_attr(c, "subscription");
    390                 char *mention_name = xt_find_attr(c, "mention_name");
    391390
    392391                if (jid && sub) {
     
    397396                                if (name) {
    398397                                        imcb_rename_buddy(ic, jid, name);
    399                                 }
    400 
    401                                 /* This could also be used to set the full name as nick for fb/gtalk,
    402                                  * but i'm keeping the old (ugly?) default behavior just to be safe */
    403                                 if (mention_name && (jd->flags & JFLAG_HIPCHAT)) {
    404                                         imcb_buddy_nick_hint(ic, jid, mention_name);
    405398                                }
    406399                        } else if (strcmp(sub, "remove") == 0) {
     
    862855                                                 struct xt_node *node, struct xt_node *orig);
    863856
    864 int jabber_iq_disco_server(struct im_connection *ic)
     857static int jabber_iq_disco_server(struct im_connection *ic)
    865858{
    866859        struct xt_node *node, *iq;
Note: See TracChangeset for help on using the changeset viewer.