changeset 5272:992550219800

[gaim-migrate @ 5644] everyone deserves to have buddies stop typing when they sign out, no matter their preferences. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 01 May 2003 16:10:06 +0000
parents 216e28b00b7f
children 2e1238f4b4e3
files src/server.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/server.c	Thu May 01 15:56:06 2003 +0000
+++ b/src/server.c	Thu May 01 16:10:06 2003 +0000
@@ -1081,7 +1081,6 @@
 				char *tmp = g_strdup_printf(_("%s logged out."), gaim_get_buddy_alias(b));
 				gaim_conversation_write(c, NULL, tmp, -1,
 							WFLAG_SYSTEM, time(NULL));
-				serv_got_typing_stopped(gc, name); /* obviously not typing */
 				g_free(tmp);
 			} else if (awayqueue && find_queue_total_by_name(b->name)) {
 				struct queued_message *qm = g_new0(struct queued_message, 1);
@@ -1094,6 +1093,7 @@
 				qm->len = -1;
 				message_queue = g_slist_append(message_queue, qm);
 			}
+			serv_got_typing_stopped(gc, name); /* obviously not typing */
 			gaim_sound_play_event(GAIM_SOUND_BUDDY_LEAVE);
 			gaim_pounce_execute(gc->account, b->name, GAIM_POUNCE_SIGNOFF);
 			system_log(log_signoff, gc, b, OPT_LOG_BUDDY_SIGNON);