changeset 18642:3f0204c58dfa

Don't actually send messages using the protocol handlers (open the window and pre-populate the message, but require the user to actually send the message). Fixes #1961.
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 25 Jul 2007 03:43:51 +0000
parents 926b94050ba7
children 3bf2e6cb8e35
files libpurple/protocols/oscar/oscar.c libpurple/protocols/yahoo/yahoo.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Wed Jul 25 03:04:11 2007 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Wed Jul 25 03:43:51 2007 +0000
@@ -6606,7 +6606,7 @@
 			if (message) {
 				/* Spaces are encoded as '+' */
 				g_strdelimit(message, "+", ' ');
-				purple_conv_im_send(PURPLE_CONV_IM(conv), message);
+				purple_conv_send_confirm(conv, message);
 			}
 		}
 		/*else
--- a/libpurple/protocols/yahoo/yahoo.c	Wed Jul 25 03:04:11 2007 +0000
+++ b/libpurple/protocols/yahoo/yahoo.c	Wed Jul 25 03:43:51 2007 +0000
@@ -3915,7 +3915,7 @@
 			if (message) {
 				/* Spaces are encoded as '+' */
 				g_strdelimit(message, "+", ' ');
-				purple_conv_im_send(PURPLE_CONV_IM(conv), message);
+				purple_conv_send_confirm(conv, message);
 			}
 		}
 		/*else