Changeset 6bbb939 for protocols/msn/ns.c


Ignore:
Timestamp:
2007-04-16T04:01:13Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
cfc8d58
Parents:
84b045d
Message:

Split serv_got_update() into imcb_buddy_(status|times). (Well, the second
one isn't implemented yet, but I'll do that later.) At last I got rid of
the hack called get_status_string(). And now Yahoo seems to mess up away
messages...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/ns.c

    r84b045d r6bbb939  
    400400                }
    401401               
    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 );
    403404        }
    404405        else if( strcmp( cmd[0], "FLN" ) == 0 )
    405406        {
    406407                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 );
    408409        }
    409410        else if( strcmp( cmd[0], "NLN" ) == 0 )
     
    428429                }
    429430               
    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 );
    431433        }
    432434        else if( strcmp( cmd[0], "RNG" ) == 0 )
Note: See TracChangeset for help on using the changeset viewer.