ayttm-commits
[Top][All Lists]
Advanced

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

[Ayttm-commits] CVS: ayttm/modules/aim-toc aim-toc.c,1.21,1.22


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

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

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


Index: aim-toc.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/aim-toc/aim-toc.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- aim-toc.c   31 Jan 2003 13:30:41 -0000      1.21
+++ aim-toc.c   6 Feb 2003 09:15:36 -0000       1.22
@@ -383,7 +383,7 @@
        chat_room->fellows = NULL;
        chat_room->protocol_local_chat_room_data = NULL; /* not needed for AIM 
*/
        
-       chat_room->chat_room_account =  aim_find_local_account_by_conn(conn);
+       chat_room->local_user =  aim_find_local_account_by_conn(conn);
 
        invite_dialog( ela, sender, name, strdup(id) );
 
@@ -618,7 +618,7 @@
 
 static void eb_aim_send_chat_room_message( eb_chat_room * room, char * message 
)
 {
-       struct eb_aim_local_account_data * alad = 
room->chat_room_account->protocol_local_account_data;
+       struct eb_aim_local_account_data * alad = 
room->local_user->protocol_local_account_data;
        toc_conn * conn = alad->conn;
        char * message2 = linkify(message);
 
@@ -628,14 +628,14 @@
 
 static void eb_aim_join_chat_room( eb_chat_room * room )
 {
-       struct eb_aim_local_account_data * alad = 
room->chat_room_account->protocol_local_account_data;
+       struct eb_aim_local_account_data * alad = 
room->local_user->protocol_local_account_data;
        toc_conn * conn = alad->conn;
        toc_chat_join(conn, room->room_name);
 }
 
 static void eb_aim_leave_chat_room( eb_chat_room * room )
 {
-       struct eb_aim_local_account_data * alad = 
room->chat_room_account->protocol_local_account_data;
+       struct eb_aim_local_account_data * alad = 
room->local_user->protocol_local_account_data;
        toc_conn * conn = alad->conn;
        toc_chat_leave(conn, room->id);
 }
@@ -647,7 +647,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]