comparison src/protocols/yahoo/yahoo.c @ 6804:3ef17670e69f

[gaim-migrate @ 7344] Tim Ringenbach (marv_sf) writes: " This fixes the /me stuff in yahoo chat's. Previously it only worked if there was nothing before the /me, but now we borrow the meify function from gtkconv.c in order to also ignore leading html when considing the meifation of a message. There's also a 2 line fix to yahoo.c that fixes an issue where buddies would sometimes get stuck idle. That should probably be a seperate patch, oops. At least its a seperate hunk." committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 10 Sep 2003 15:10:23 +0000
parents f5f2669970a0
children bc8f329c1341
comparison
equal deleted inserted replaced
6803:fb0ff4414e46 6804:3ef17670e69f
358 f->away = 1; 358 f->away = 1;
359 else 359 else
360 f->away = 0; 360 f->away = 0;
361 if (f->status == YAHOO_STATUS_IDLE) 361 if (f->status == YAHOO_STATUS_IDLE)
362 f->idle = time(NULL); 362 f->idle = time(NULL);
363 else
364 f->idle = 0;
363 if (f->status != YAHOO_STATUS_CUSTOM) { 365 if (f->status != YAHOO_STATUS_CUSTOM) {
364 g_free(f->msg); 366 g_free(f->msg);
365 f->msg = NULL; 367 f->msg = NULL;
366 } 368 }
367 if (f->status == YAHOO_STATUS_AVAILABLE) 369 if (f->status == YAHOO_STATUS_AVAILABLE)