changeset 21007:d55617a15301

don't assume </stream:stream> means the conversation window is closed. Fixes #3690
author Sean Egan <seanegan@gmail.com>
date Thu, 25 Oct 2007 18:51:39 +0000
parents f43d7aafe1f8
children c41fcc697306
files libpurple/protocols/bonjour/jabber.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/jabber.c	Wed Oct 24 03:29:33 2007 +0000
+++ b/libpurple/protocols/bonjour/jabber.c	Thu Oct 25 18:51:39 2007 +0000
@@ -375,12 +375,14 @@
 
 	/* Inform the user that the conversation has been closed */
 	if (bb->conversation != NULL) {
+#if 0
 		conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, pb->name, pb->account);
 		if (conv != NULL) {
 			char *tmp = g_strdup_printf(_("%s has closed the conversation."), pb->name);
 			purple_conversation_write(conv, NULL, tmp, PURPLE_MESSAGE_SYSTEM, time(NULL));
 			g_free(tmp);
 		}
+#endif
 		/* Close the socket, clear the watcher and free memory */
 		bonjour_jabber_close_conversation(bb->conversation);
 		bb->conversation = NULL;