Mercurial > pidgin
comparison src/server.c @ 4072:226f6871643c
[gaim-migrate @ 4284]
Deryni's patch introduced a little bug that made one unable to respond to
queued messages. I would fix it, but I don't really care about this feature ;)
I'm just reversing it and letting Etan fix it.
committer: Tailor Script <tailor@pidgin.im>
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Sat, 14 Dec 2002 02:27:15 +0000 |
| parents | 89b56ab2b692 |
| children | 3ccbdf8e7f8d |
comparison
equal
deleted
inserted
replaced
| 4071:2532f1192da3 | 4072:226f6871643c |
|---|---|
| 619 * the away dialog to indicate that we've queued something. */ | 619 * the away dialog to indicate that we've queued something. */ |
| 620 struct queued_message *qm; | 620 struct queued_message *qm; |
| 621 struct buddy *b; | 621 struct buddy *b; |
| 622 | 622 |
| 623 qm = g_new0(struct queued_message, 1); | 623 qm = g_new0(struct queued_message, 1); |
| 624 if (OPT_IM_ALIAS_TAB) { | |
| 625 b = find_buddy(gc, name); | |
| 626 g_snprintf(qm->name, sizeof(qm->name), "%s", b ? b->show : name); | |
| 627 } | |
| 628 else | |
| 629 g_snprintf(qm->name, sizeof(qm->name), "%s", name); | 624 g_snprintf(qm->name, sizeof(qm->name), "%s", name); |
| 630 qm->message = g_memdup(message, len == -1 ? strlen(message) + 1 : len); | 625 qm->message = g_memdup(message, len == -1 ? strlen(message) + 1 : len); |
| 631 qm->gc = gc; | 626 qm->gc = gc; |
| 632 qm->tm = mtime; | 627 qm->tm = mtime; |
| 633 qm->flags = WFLAG_RECV | away; | 628 qm->flags = WFLAG_RECV | away; |
