Changeset 61ae52c for protocols/oscar


Ignore:
Timestamp:
2007-04-20T05:19:06Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
b0eaa5b
Parents:
d323394c
Message:

Renamed/slightly changed syntax of groupchat callback functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/oscar.c

    rd323394c r61ae52c  
    750750        chatcon = find_oscar_chat_by_conn(ic, fr->conn);
    751751        chatcon->id = id;
    752         chatcon->cnv = serv_got_joined_chat(ic, chatcon->show);
     752        chatcon->cnv = imcb_chat_new(ic, chatcon->show);
    753753        chatcon->cnv->data = chatcon;
    754754
     
    14611461
    14621462        for (i = 0; i < count; i++)
    1463                 add_chat_buddy(c->cnv, info[i].sn);
     1463                imcb_chat_add_buddy(c->cnv, info[i].sn);
    14641464
    14651465        return 1;
     
    14841484
    14851485        for (i = 0; i < count; i++)
    1486                 remove_chat_buddy(c->cnv, info[i].sn, NULL);
     1486                imcb_chat_remove_buddy(c->cnv, info[i].sn, NULL);
    14871487
    14881488        return 1;
     
    15351535        tmp = g_malloc(BUF_LONG);
    15361536        g_snprintf(tmp, BUF_LONG, "%s", msg);
    1537         serv_got_chat_in(ccon->cnv, info->sn, 0, tmp, time((time_t)NULL));
     1537        imcb_chat_msg(ccon->cnv, info->sn, tmp, 0, 0);
    15381538        g_free(tmp);
    15391539
     
    25132513
    25142514        /* Notify the conversation window that we've left the chat */
    2515         serv_got_chat_left(cc->cnv);
     2515        imcb_chat_removed(cc->cnv);
    25162516
    25172517        /* Destroy the chat_connection */
Note: See TracChangeset for help on using the changeset viewer.