Mercurial > pidgin.yaz
comparison src/buddy.c @ 4125:6ba49fc29d67
[gaim-migrate @ 4342]
ari forgot this
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 23 Dec 2002 23:22:47 +0000 |
parents | 4efc492cf16f |
children | 168273c1cc77 |
comparison
equal
deleted
inserted
replaced
4124:19ee0409a3d7 | 4125:6ba49fc29d67 |
---|---|
2393 struct conversation *c = find_conversation(b->name); | 2393 struct conversation *c = find_conversation(b->name); |
2394 if (c) { | 2394 if (c) { |
2395 char tmp[1024]; | 2395 char tmp[1024]; |
2396 g_snprintf(tmp, sizeof(tmp), _("%s logged in."), b->show); | 2396 g_snprintf(tmp, sizeof(tmp), _("%s logged in."), b->show); |
2397 write_to_conv(c, tmp, WFLAG_SYSTEM, NULL, time(NULL), -1); | 2397 write_to_conv(c, tmp, WFLAG_SYSTEM, NULL, time(NULL), -1); |
2398 } else if (clistqueue && find_queue_total_by_name(b->name)) { | 2398 } else if (awayqueue && find_queue_total_by_name(b->name)) { |
2399 struct queued_message *qm = g_new0(struct queued_message, 1); | 2399 struct queued_message *qm = g_new0(struct queued_message, 1); |
2400 g_snprintf(qm->name, sizeof(qm->name), "%s", b->name); | 2400 g_snprintf(qm->name, sizeof(qm->name), "%s", b->name); |
2401 qm->message = g_strdup_printf(_("%s logged in."), b->show); | 2401 qm->message = g_strdup_printf(_("%s logged in."), b->show); |
2402 qm->gc = gc; | 2402 qm->gc = gc; |
2403 qm->tm = time(NULL); | 2403 qm->tm = time(NULL); |
2452 struct conversation *c = find_conversation(b->name); | 2452 struct conversation *c = find_conversation(b->name); |
2453 if (c) { | 2453 if (c) { |
2454 char tmp[1024]; | 2454 char tmp[1024]; |
2455 g_snprintf(tmp, sizeof(tmp), _("%s logged out."), b->show); | 2455 g_snprintf(tmp, sizeof(tmp), _("%s logged out."), b->show); |
2456 write_to_conv(c, tmp, WFLAG_SYSTEM, NULL, time(NULL), -1); | 2456 write_to_conv(c, tmp, WFLAG_SYSTEM, NULL, time(NULL), -1); |
2457 } else if (clistqueue && find_queue_total_by_name(b->name)) { | 2457 } else if (awayqueue && find_queue_total_by_name(b->name)) { |
2458 struct queued_message *qm = g_new0(struct queued_message, 1); | 2458 struct queued_message *qm = g_new0(struct queued_message, 1); |
2459 g_snprintf(qm->name, sizeof(qm->name), "%s", b->name); | 2459 g_snprintf(qm->name, sizeof(qm->name), "%s", b->name); |
2460 qm->message = g_strdup_printf(_("%s logged out."), b->show); | 2460 qm->message = g_strdup_printf(_("%s logged out."), b->show); |
2461 qm->gc = gc; | 2461 qm->gc = gc; |
2462 qm->tm = time(NULL); | 2462 qm->tm = time(NULL); |