Changeset 6bbb939 for protocols/msn
- Timestamp:
- 2007-04-16T04:01:13Z (18 years ago)
- Branches:
- master
- Children:
- cfc8d58
- Parents:
- 84b045d
- Location:
- protocols/msn
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/msn.c
r84b045d r6bbb939 192 192 } 193 193 194 static char *msn_get_status_string( struct im_connection *ic, int number )195 {196 const struct msn_away_state *st = msn_away_state_by_number( number );197 198 if( st )199 return( (char*) st->name );200 else201 return( "" );202 }203 204 194 static void msn_set_away( struct im_connection *ic, char *state, char *message ) 205 195 { … … 399 389 ret->send_im = msn_send_im; 400 390 ret->away_states = msn_away_states; 401 ret->get_status_string = msn_get_status_string;402 391 ret->set_away = msn_set_away; 403 392 ret->get_info = msn_get_info; -
protocols/msn/ns.c
r84b045d r6bbb939 400 400 } 401 401 402 serv_got_update( ic, cmd[3], 1, 0, 0, 0, st->number, 0 ); 402 imcb_buddy_status( ic, cmd[3], OPT_LOGGED_IN | 403 ( st->number ? OPT_AWAY : 0 ), st->name, NULL ); 403 404 } 404 405 else if( strcmp( cmd[0], "FLN" ) == 0 ) 405 406 { 406 407 if( cmd[1] ) 407 serv_got_update( ic, cmd[1], 0, 0, 0, 0, 0, 0);408 imcb_buddy_status( ic, cmd[1], 0, NULL, NULL ); 408 409 } 409 410 else if( strcmp( cmd[0], "NLN" ) == 0 ) … … 428 429 } 429 430 430 serv_got_update( ic, cmd[2], 1, 0, 0, 0, st->number, 0 ); 431 imcb_buddy_status( ic, cmd[2], OPT_LOGGED_IN | 432 ( st->number ? OPT_AWAY : 0 ), st->name, NULL ); 431 433 } 432 434 else if( strcmp( cmd[0], "RNG" ) == 0 )
Note: See TracChangeset
for help on using the changeset viewer.