Changeset 72b60c7e for skype/skype.c


Ignore:
Timestamp:
2010-04-13T22:55:42Z (14 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
304aa33
Parents:
7cc2c1e
Message:

use imcb_chat_name_hint() if it's available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/skype.c

    r7cc2c1e r72b60c7e  
    753753                imcb_chat_free(gc);
    754754        if (!strcmp(info, "STATUS MULTI_SUBSCRIBED")) {
    755                 imcb_chat_new(ic, id);
     755                gc = imcb_chat_new(ic, id);
     756#if defined(BITLBEE_VERSION_CODE) && BITLBEE_VERSION_CODE >= BITLBEE_VER(1, 2, 6)
     757                imcb_chat_name_hint(gc, id);
     758#endif
    756759                skype_printf(ic, "GET CHAT %s ADDER\n", id);
    757760                skype_printf(ic, "GET CHAT %s TOPIC\n", id);
    758761        } else if (!strcmp(info, "STATUS DIALOG") && sd->groupchat_with) {
    759762                gc = imcb_chat_new(ic, id);
     763#if defined(BITLBEE_VERSION_CODE) && BITLBEE_VERSION_CODE >= BITLBEE_VER(1, 2, 6)
     764                imcb_chat_name_hint(gc, id);
     765#endif
    760766                /* According to the docs this
    761767                 * is necessary. However it
Note: See TracChangeset for help on using the changeset viewer.