Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/oscar.c

    r75610c3 r5a599a1  
    799799        chatcon = find_oscar_chat_by_conn(ic, fr->conn);
    800800        chatcon->id = id;
    801         chatcon->cnv = bee_chat_by_title(ic->bee, ic, chatcon->show);
    802         if (chatcon->cnv == NULL)
    803                 chatcon->cnv = imcb_chat_new(ic, chatcon->show);
     801        chatcon->cnv = imcb_chat_new(ic, chatcon->show);
    804802        chatcon->cnv->data = chatcon;
    805803
     
    11921190        aim_ssi_auth_reply(od->sess, od->conn, uin, 1, "");
    11931191        // aim_send_im_ch4(od->sess, uin, AIM_ICQMSG_AUTHGRANTED, &message);
    1194         imcb_ask_add(data->ic, uin, NULL);
     1192        if(imcb_find_buddy(data->ic, uin) == NULL)
     1193                imcb_ask_add(data->ic, uin, NULL);
    11951194       
    11961195        g_free(uin);
     
    19531952        struct oscar_data *odata = (struct oscar_data *)g->proto_data;
    19541953        if (odata->icq) {
    1955                 /** FIXME(wilmer): Hmm, lost the ability to get away msgs here, do we care to get that back?
    19561954                struct buddy *budlight = imcb_find_buddy(g, who);
    19571955                if (budlight)
     
    19591957                                if (budlight->caps & AIM_CAPS_ICQSERVERRELAY)
    19601958                                        aim_send_im_ch2_geticqmessage(odata->sess, who, (budlight->uc & 0xff80) >> 7);
    1961                 */
    19621959        } else
    19631960                aim_getinfo(odata->sess, odata->conn, who, AIM_GETINFO_AWAYMESSAGE);
     
    20972094                switch (curitem->type) {
    20982095                        case 0x0000: /* Buddy */
    2099                                 if ((curitem->name) && (!imcb_buddy_by_handle(ic, nrm))) {
     2096                                if ((curitem->name) && (!imcb_find_buddy(ic, nrm))) {
    21002097                                        char *realname = NULL;
    21012098
     
    26532650        static int chat_id = 0;
    26542651        char * chatname;
    2655         struct groupchat *c;
    26562652       
    26572653        chatname = g_strdup_printf("%s%s_%d", isdigit(*ic->acc->user) ? "icq_" : "",
    26582654                                   ic->acc->user, chat_id++);
    2659        
    2660         c = imcb_chat_new(ic, chatname);
    2661 
     2655 
    26622656        ret = oscar_chat_join(ic, chatname, NULL, NULL);
    26632657
Note: See TracChangeset for help on using the changeset viewer.