Mercurial > pidgin
comparison src/server.c @ 5271:216e28b00b7f
[gaim-migrate @ 5643]
fix buddies getting stuck typing when they sign off, and fix something
else I found annoying
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 01 May 2003 15:56:06 +0000 |
parents | d635e8fe2fba |
children | 992550219800 |
comparison
equal
deleted
inserted
replaced
5270:d1fe8e320dab | 5271:216e28b00b7f |
---|---|
1079 struct gaim_conversation *c = gaim_find_conversation(b->name); | 1079 struct gaim_conversation *c = gaim_find_conversation(b->name); |
1080 if (c && (im_options & OPT_IM_LOGON)) { | 1080 if (c && (im_options & OPT_IM_LOGON)) { |
1081 char *tmp = g_strdup_printf(_("%s logged out."), gaim_get_buddy_alias(b)); | 1081 char *tmp = g_strdup_printf(_("%s logged out."), gaim_get_buddy_alias(b)); |
1082 gaim_conversation_write(c, NULL, tmp, -1, | 1082 gaim_conversation_write(c, NULL, tmp, -1, |
1083 WFLAG_SYSTEM, time(NULL)); | 1083 WFLAG_SYSTEM, time(NULL)); |
1084 serv_got_typing_stopped(gc, name); /* obviously not typing */ | |
1084 g_free(tmp); | 1085 g_free(tmp); |
1085 } else if (awayqueue && find_queue_total_by_name(b->name)) { | 1086 } else if (awayqueue && find_queue_total_by_name(b->name)) { |
1086 struct queued_message *qm = g_new0(struct queued_message, 1); | 1087 struct queued_message *qm = g_new0(struct queued_message, 1); |
1087 g_snprintf(qm->name, sizeof(qm->name), "%s", b->name); | 1088 g_snprintf(qm->name, sizeof(qm->name), "%s", b->name); |
1088 qm->message = g_strdup_printf(_("%s logged out."), | 1089 qm->message = g_strdup_printf(_("%s logged out."), |