From: Rob F. <rob...@us...> - 2001-10-19 19:13:00
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv17182 Modified Files: buddy.c Log Message: This is probably a better solution. Index: buddy.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/buddy.c,v retrieving revision 1.251 retrieving revision 1.252 diff -u -d -r1.251 -r1.252 --- buddy.c 2001/10/19 18:44:52 1.251 +++ buddy.c 2001/10/19 19:12:57 1.252 @@ -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); + if (strlen(b->message) > 0) { + c = find_conversation(name); - set_convo_gc(c, u->gc); + if (c == NULL) + c = new_conversation(name); - if (strlen(b->message) > 0) { + 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); } |