diff src/conversation.c @ 998:70c685de2be5

[gaim-migrate @ 1008] this is going to make it easier to add more protocols. each protocol now sets up connections with protocol-specific data. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 15 Oct 2000 03:50:32 +0000
parents eacd93d0089a
children 91b7377e7b45
line wrap: on
line diff
--- a/src/conversation.c	Sun Oct 15 02:00:05 2000 +0000
+++ b/src/conversation.c	Sun Oct 15 03:50:32 2000 +0000
@@ -391,14 +391,17 @@
 		serv_chat_leave(c->gc, c->id);
 	} else {
 		if (c->is_direct) {
+			/* FIXME
 			if (c->gc->protocol == PROTO_OSCAR) {
 				gdk_input_remove(c->watcher);
 				sprintf(debug_buff, "Closing DirectIM conversation (%p)\n", c->conn);
 				debug_print(debug_buff);
-				aim_conn_kill(c->gc->oscar_sess, &c->conn);
+				aim_conn_kill(((struct oscar_data *)c->gc->proto_data)->sess,
+						&c->conn);
 			} else {
-				/* Direct IM TOC FIXME */
+				Direct IM TOC FIXME
 			}
+			*/
 		}
 	        delete_conversation(c);
 	}