diff 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
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Wed Sep 10 05:19:49 2003 +0000
+++ b/src/protocols/yahoo/yahoo.c	Wed Sep 10 15:10:23 2003 +0000
@@ -360,6 +360,8 @@
 				f->away = 0;
 			if (f->status == YAHOO_STATUS_IDLE)
 				f->idle = time(NULL);
+			else
+				f->idle = 0;
 			if (f->status != YAHOO_STATUS_CUSTOM) {
 				g_free(f->msg);
 				f->msg = NULL;