Mercurial > pidgin.yaz
changeset 2552:83f914362d72
[gaim-migrate @ 2565]
This is probably a better solution.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Fri, 19 Oct 2001 19:12:57 +0000 |
parents | 4daddeb30354 |
children | d3e463a5cafc |
files | src/buddy.c |
diffstat | 1 files changed, 7 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buddy.c Fri Oct 19 18:51:33 2001 +0000 +++ b/src/buddy.c Fri Oct 19 19:12:57 2001 +0000 @@ -1465,13 +1465,14 @@ do_error_dialog(tmp, _("Buddy Pounce")); } if (b->options & OPT_POUNCE_SEND_IM) { - c = find_conversation(name); - if (c == NULL) - c = new_conversation(name); - - set_convo_gc(c, u->gc); - if (strlen(b->message) > 0) { + c = find_conversation(name); + + if (c == NULL) + c = new_conversation(name); + + set_convo_gc(c, u->gc); + write_to_conv(c, b->message, WFLAG_SEND, NULL, time((time_t) NULL)); serv_send_im(u->gc, name, b->message, 0); }