Ignore:
Timestamp:
2015-05-09T19:50:30Z (10 years ago)
Author:
dequis <dx@…>
Children:
ec8b369
Parents:
356e2dd (diff), 5014380 (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.
Message:

Merge branch 'develop' into feat/hip-cat

Conflicts:

protocols/jabber/hipchat.c
protocols/jabber/iq.c
protocols/jabber/jabber.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/iq.c

    r356e2dd rb8c336b  
    373373static xt_status jabber_parse_roster(struct im_connection *ic, struct xt_node *node, struct xt_node *orig)
    374374{
     375        struct jabber_data *jd = ic->proto_data;
    375376        struct xt_node *query, *c;
    376377        int initial = (orig != NULL);
     
    388389                char *sub = xt_find_attr(c, "subscription");
    389390                char *mention_name = xt_find_attr(c, "mention_name");
    390                 char *nick = mention_name ? : name;
    391391
    392392                if (jid && sub) {
     
    399399                                }
    400400
    401                                 if (nick) {
    402                                         imcb_buddy_nick_hint(ic, jid, nick);
     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);
    403405                                }
    404406                        } else if (strcmp(sub, "remove") == 0) {
Note: See TracChangeset for help on using the changeset viewer.