diff libpurple/protocols/msn/msg.c @ 24207:fb722b8b4c74

attempts to resend message on switchboard error once, tested by maually disabling switchboard connection on the receiving side I have a feeling that there is a real bug somewhere, but this would at least allow the message to make through (after some delay) References #3330
author Ka-Hing Cheung <khc@hxbc.us>
date Tue, 30 Sep 2008 05:52:57 +0000
parents 56d958e7b7d1
children 7e8175f9b009
line wrap: on
line diff
--- a/libpurple/protocols/msn/msg.c	Tue Sep 30 00:49:53 2008 +0000
+++ b/libpurple/protocols/msn/msg.c	Tue Sep 30 05:52:57 2008 +0000
@@ -114,6 +114,7 @@
 	char *message_cr;
 
 	msg = msn_message_new(MSN_MSG_TEXT);
+	msg->retries = 1;
 	msn_message_set_attr(msg, "User-Agent", PACKAGE_NAME "/" VERSION);
 	msn_message_set_content_type(msg, "text/plain");
 	msn_message_set_charset(msg, "UTF-8");