Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/oscar.c

    r3e1de87 r9cb9868  
    221221static int gaim_ssi_parselist    (aim_session_t *, aim_frame_t *, ...);
    222222static int gaim_ssi_parseack     (aim_session_t *, aim_frame_t *, ...);
    223 static int gaim_parsemtn         (aim_session_t *, aim_frame_t *, ...);
     223
    224224static int gaim_icqinfo          (aim_session_t *, aim_frame_t *, ...);
    225225static int gaim_parseaiminfo     (aim_session_t *, aim_frame_t *, ...);
     
    558558        aim_conn_addhandler(sess, bosconn, AIM_CB_FAM_SSI, AIM_CB_SSI_SRVACK, gaim_ssi_parseack, 0);
    559559        aim_conn_addhandler(sess, bosconn, AIM_CB_FAM_LOC, AIM_CB_LOC_USERINFO, gaim_parseaiminfo, 0);
    560         aim_conn_addhandler(sess, bosconn, AIM_CB_FAM_MSG, AIM_CB_MSG_MTN, gaim_parsemtn, 0);
    561560
    562561        ((struct oscar_data *)gc->proto_data)->conn = bosconn;
     
    16791678
    16801679        /* Maybe senderwarn and recverwarn should be user preferences... */
    1681         params->flags = 0x0000000b;
    16821680        params->maxmsglen = 8000;
    16831681        params->minmsginterval = 0;
     
    24372435}
    24382436
    2439 int gaim_parsemtn(aim_session_t *sess, aim_frame_t *fr, ...)
    2440 {
    2441         struct gaim_connection * gc = sess->aux_data;
    2442         va_list ap;
    2443         guint16 type1, type2;
    2444         char * sn;
    2445 
    2446         va_start(ap, fr);
    2447         type1 = va_arg(ap, int);
    2448         sn = va_arg(ap, char*);
    2449         type2 = va_arg(ap, int);
    2450         va_end(ap);
    2451 
    2452         if(type2 == 0x0001 || type2 == 0x0002)
    2453                 serv_got_typing(gc, sn, 0);
    2454 
    2455         return 1;
    2456 }
    2457 
    24582437static char *oscar_get_status_string( struct gaim_connection *gc, int number )
    24592438{
     
    24822461                return( "Away" );
    24832462        }
    2484 }
    2485 
    2486 int oscar_send_typing(struct gaim_connection *gc, char * who, int typing)
    2487 {
    2488         struct oscar_data *od = gc->proto_data;
    2489         return( aim_im_sendmtn(od->sess, 1, who, typing ? 0x0002 : 0x0000) );
    24902463}
    24912464
     
    25122485        ret->get_status_string = oscar_get_status_string;
    25132486
    2514         ret->send_typing = oscar_send_typing;
    2515 
    25162487        my_protocol = ret;
    25172488}
Note: See TracChangeset for help on using the changeset viewer.