Ignore:
Timestamp:
2011-06-16T21:59:06Z (13 years ago)
Author:
unknown <vmiklos@…>
Branches:
master
Children:
2ff0f37
Parents:
370899f (diff), 05d964c (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 IPv6 and groupchat fixes from hrubi.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/skype/skype.c

    r370899f rbf8ee39  
    912912                imcb_chat_free(gc);
    913913        if (!strcmp(info, "STATUS MULTI_SUBSCRIBED")) {
    914                 gc = imcb_chat_new(ic, id);
    915                 imcb_chat_name_hint(gc, id);
     914                gc = bee_chat_by_title(ic->bee, ic, id);
     915                if (!gc) {
     916                        gc = imcb_chat_new(ic, id);
     917                        imcb_chat_name_hint(gc, id);
     918                }
    916919                skype_printf(ic, "GET CHAT %s ADDER\n", id);
    917920                skype_printf(ic, "GET CHAT %s TOPIC\n", id);
     
    11981201        skype_printf(ic, "SET USERSTATUS OFFLINE\n");
    11991202
     1203        while( ic->groupchats )
     1204                imcb_chat_free(ic->groupchats->data);
     1205
    12001206        for (i = 0; i < g_list_length(sd->groups); i++) {
    12011207                struct skype_group *sg = (struct skype_group *)g_list_nth_data(sd->groups, i);
     
    13921398        char *ptr, *nick;
    13931399
    1394         /* Unused parameter */
    1395         who = who;
    1396 
    1397         nick = g_strdup(message);
     1400        nick = g_strdup(who);
    13981401        ptr = strchr(nick, '@');
    13991402        if (ptr)
Note: See TracChangeset for help on using the changeset viewer.