Update of /cvsroot/gaim/gaim/plugins
In directory usw-pr-cvs1:/tmp/cvs-serv20859/plugins
Modified Files:
SIGNALS
Log Message:
event_chat_recv takes char** arguments, so you can change the incoming text
and sender.
event_im_recv takes a guint32* for its flags, so you can change the flags too.
Index: SIGNALS
===================================================================
RCS file: /cvsroot/gaim/gaim/plugins/SIGNALS,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- SIGNALS 2 Mar 2002 04:52:21 -0000 1.27
+++ SIGNALS 23 Apr 2002 16:30:09 -0000 1.28
@@ -93,7 +93,7 @@
removed eventually.
event_im_recv:
- struct gaim_connection *gc, char **who, char **text, guint32 flags
+ struct gaim_connection *gc, char **who, char **text, guint32 *flags
'gc' is the connection that received the message.
'who' is the username of the person who sent the message.
@@ -211,13 +211,16 @@
'who' is the screenname of the person who left.
event_chat_recv:
- struct gaim_connection *gc, int id, char *who, char *text
+ struct gaim_connection *gc, int id, char **who, char **text
'gc' is the connection that received the message.
'who' should be too.
'text' is the message that got sent.
'id' is the id of the room that received the message (see
event_chat_join)
+
+ Like event_im_recv, you are allowed and encouraged to change
+ these values
Note that because of the bizarre way chat works, you also receive
messages that you send. I didn't design it, AOL did.
|