comparison plugins/icq/gaim_icq.c @ 1402:65f4a0325022

[gaim-migrate @ 1412] whoops. this should work better. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 11 Jan 2001 08:02:35 +0000
parents bf041349b11e
children 96e93119268d
comparison
equal deleted inserted replaced
1401:bf041349b11e 1402:65f4a0325022
329 icq_ChangeStatus(id->link, STATUS_OCCUPIED); 329 icq_ChangeStatus(id->link, STATUS_OCCUPIED);
330 else if (!strcmp(state, "Free For Chat")) 330 else if (!strcmp(state, "Free For Chat"))
331 icq_ChangeStatus(id->link, STATUS_FREE_CHAT); 331 icq_ChangeStatus(id->link, STATUS_FREE_CHAT);
332 else if (!strcmp(state, "Invisible")) 332 else if (!strcmp(state, "Invisible"))
333 icq_ChangeStatus(id->link, STATUS_INVISIBLE); 333 icq_ChangeStatus(id->link, STATUS_INVISIBLE);
334 else if (!strcmp(state, GAIM_AWAY_CUSTOM)) 334 else if (!strcmp(state, GAIM_AWAY_CUSTOM)) {
335 /* we have to do this even though we don't have a custom state */ 335 if (msg)
336 icq_ChangeStatus(id->link, STATUS_NA); 336 icq_ChangeStatus(id->link, STATUS_NA);
337 else
338 icq_ChangeStatus(id->link, STATUS_ONLINE);
339 }
337 } 340 }
338 341
339 static char **icq_list_icon(int uc) { 342 static char **icq_list_icon(int uc) {
340 guint status; 343 guint status;
341 if (uc == UC_NORMAL) 344 if (uc == UC_NORMAL)