ayttm-commits
[Top][All Lists]
Advanced

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

[Ayttm-commits] CVS: ayttm/modules/workwizu workwizu.c,1.28,1.29


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

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

Modified Files:
        workwizu.c 
Log Message:
chat_window & chat_room structs cleaning


Index: workwizu.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/workwizu/workwizu.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- workwizu.c  31 Jan 2003 17:15:54 -0000      1.28
+++ workwizu.c  6 Feb 2003 09:15:37 -0000       1.29
@@ -731,7 +731,7 @@
 
 int eb_workwizu_send_cr_typing (eb_chat_room *room)
 {
-       eb_local_account *account_from = (eb_local_account 
*)room->chat_room_account;
+       eb_local_account *account_from = (eb_local_account *)room->local_user;
        return eb_workwizu_send_typing(account_from, NULL);
 }
 
@@ -913,7 +913,7 @@
 
 void eb_workwizu_send_chat_room_message(eb_chat_room *room, char *message)
 {
-       eb_local_account *account_from = (eb_local_account 
*)room->chat_room_account;
+       eb_local_account *account_from = (eb_local_account *)room->local_user;
        wwz_account_data *wad = (wwz_account_data 
*)account_from->protocol_local_account_data;
        char *send = translate_to_br(message);
        
@@ -943,7 +943,7 @@
 void eb_workwizu_leave_chat_room (eb_chat_room *room)
 {
        LList *all = NULL;
-       eb_local_account *account = (eb_local_account *)room->chat_room_account;
+       eb_local_account *account = (eb_local_account *)room->local_user;
        wwz_account_data *wad = (wwz_account_data 
*)account->protocol_local_account_data;
        for (all = wwz_contacts; all != NULL && all->data != NULL; all = 
all->next) {
                eb_chat_room_buddy_leave(room, (char*)all->data);
@@ -966,8 +966,8 @@
        strncpy(ecr->room_name, name, 1024);
        ecr->fellows = NULL;
        ecr->connected = FALSE;
-       ecr->chat_room_account = account;
-       eb_debug(DBG_WWZ,"ecr->chat_room_account %p\n",ecr->chat_room_account);
+       ecr->local_user = account;
+       eb_debug(DBG_WWZ,"ecr->local_user %p\n",ecr->local_user);
        wad->chat_room = ecr;
        
        eb_join_chat_room(ecr);





reply via email to

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