Changeset 9624fdf for protocols/yahoo


Ignore:
Timestamp:
2007-04-17T04:49:17Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
33dc261
Parents:
717e3bf
Message:

API cleanup pretty much complete. Fixed pretty much everything except the
buddy/groupchat related functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/yahoo/yahoo.c

    r717e3bf r9624fdf  
    618618        char *m = byahoo_strip( msg );
    619619       
    620         serv_got_im( ic, (char*) who, (char*) m, 0, 0, strlen( m ) );
     620        imcb_buddy_msg( ic, (char*) who, (char*) m, 0, 0 );
    621621        g_free( m );
    622622}
     
    634634{
    635635        struct im_connection *ic = byahoo_get_ic_by_id( id );
    636         if (stat == 1) {
    637                 /* User is typing */
    638                 serv_got_typing( ic, (char*) who, 1, 1 );
    639         }
    640         else {
    641                 /* User stopped typing */
    642                 serv_got_typing( ic, (char*) who, 1, 0 );
    643         }
     636       
     637        if( stat == 1 )
     638                imcb_buddy_typing( ic, (char*) who, OPT_TYPING );
     639        else
     640                imcb_buddy_typing( ic, (char*) who, 0 );
    644641}
    645642
Note: See TracChangeset for help on using the changeset viewer.