ayttm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ayttm-commits] CVS: ayttm/modules/icq-toc icq-toc.c,1.9,1.10


From: Colin Leroy <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/modules/icq-toc icq-toc.c,1.9,1.10
Date: Thu, 06 Feb 2003 04:15:39 -0500

Update of /cvsroot/ayttm/ayttm/modules/icq-toc
In directory subversions:/tmp/cvs-serv14654/modules/icq-toc

Modified Files:
        icq-toc.c 
Log Message:
chat_window & chat_room structs cleaning


Index: icq-toc.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/icq-toc/icq-toc.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- icq-toc.c   30 Jan 2003 08:23:19 -0000      1.9
+++ icq-toc.c   6 Feb 2003 09:15:37 -0000       1.10
@@ -409,7 +409,7 @@
        chat_room->protocol_local_chat_room_data = NULL; /* not needed for AIM 
*/
        
        chat_rooms = g_list_append(chat_rooms, chat_room );
-       chat_room->chat_room_account =  icq_find_local_account_by_conn(conn);
+       chat_room->local_user =  icq_find_local_account_by_conn(conn);
 
        invite_dialog( ela, sender, name, strdup(id) );
 
@@ -635,7 +635,7 @@
 
 void eb_icq_send_chat_room_message( eb_chat_room * room, gchar * message )
 {
-       struct eb_icq_local_account_data * alad = 
room->chat_room_account->protocol_local_account_data;
+       struct eb_icq_local_account_data * alad = 
room->local_user->protocol_local_account_data;
        toc_conn * conn = alad->conn;
        gchar * message2 = linkify(message);
 
@@ -645,14 +645,14 @@
 
 void eb_icq_join_chat_room( eb_chat_room * room )
 {
-       struct eb_icq_local_account_data * alad = 
room->chat_room_account->protocol_local_account_data;
+       struct eb_icq_local_account_data * alad = 
room->local_user->protocol_local_account_data;
        toc_conn * conn = alad->conn;
        toc_chat_join(conn, room->room_name);
 }
 
 void eb_icq_leave_chat_room( eb_chat_room * room )
 {
-       struct eb_icq_local_account_data * alad = 
room->chat_room_account->protocol_local_account_data;
+       struct eb_icq_local_account_data * alad = 
room->local_user->protocol_local_account_data;
        toc_conn * conn = alad->conn;
        toc_chat_leave(conn, room->id);
 }
@@ -664,7 +664,7 @@
        strcpy( ecr->room_name, name );
        ecr->fellows = NULL;
        ecr->connected = FALSE;
-       ecr->chat_room_account = account;
+       ecr->local_user = account;
        eb_join_chat_room(ecr);
        
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]