changeset 1576:992871bf2649

[gaim-migrate @ 1586] better notification when chat doesn't work. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 15 Mar 2001 15:09:02 +0000
parents 427e1409917c
children d7d3ae0071b4
files src/oscar.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/oscar.c	Thu Mar 15 15:03:08 2001 +0000
+++ b/src/oscar.c	Thu Mar 15 15:09:02 2001 +0000
@@ -327,6 +327,13 @@
 						gdk_input_remove(odata->cnpa);
 					odata->cnpa = 0;
 					debug_printf("removing chatnav input watcher\n");
+					if (odata->create_exchange) {
+						odata->create_exchange = 0;
+						g_free(odata->create_name);
+						odata->create_name = NULL;
+						do_error_dialog(_("Chat is currently unavailable"),
+								_("Gaim - Chat"));
+					}
 					aim_conn_kill(odata->sess, &conn);
 				} else if (conn->type == AIM_CONN_TYPE_AUTH) {
 					if (odata->paspa > 0)