Mercurial > pidgin
diff plugins/SIGNALS @ 3163:e102d1629c71
[gaim-migrate @ 3179]
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.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Tue, 23 Apr 2002 16:30:09 +0000 |
parents | 7239a392486c |
children | dee7db9e51d4 |
line wrap: on
line diff
--- a/plugins/SIGNALS Mon Apr 22 23:40:53 2002 +0000 +++ b/plugins/SIGNALS Tue Apr 23 16:30:09 2002 +0000 @@ -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,7 +211,7 @@ '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. @@ -219,6 +219,9 @@ '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.