comparison 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
comparison
equal deleted inserted replaced
3162:7dfd1871c39d 3163:e102d1629c71
91 91
92 This is deprecated and will not be called again. It will probably be 92 This is deprecated and will not be called again. It will probably be
93 removed eventually. 93 removed eventually.
94 94
95 event_im_recv: 95 event_im_recv:
96 struct gaim_connection *gc, char **who, char **text, guint32 flags 96 struct gaim_connection *gc, char **who, char **text, guint32 *flags
97 97
98 'gc' is the connection that received the message. 98 'gc' is the connection that received the message.
99 'who' is the username of the person who sent the message. 99 'who' is the username of the person who sent the message.
100 'text' is the actual strict text (with HTML tags and all) of the 100 'text' is the actual strict text (with HTML tags and all) of the
101 message they sent. 101 message they sent.
209 'gc' is the connection that the chat room is attached to. 209 'gc' is the connection that the chat room is attached to.
210 'id' is the id of the room the person left. 210 'id' is the id of the room the person left.
211 'who' is the screenname of the person who left. 211 'who' is the screenname of the person who left.
212 212
213 event_chat_recv: 213 event_chat_recv:
214 struct gaim_connection *gc, int id, char *who, char *text 214 struct gaim_connection *gc, int id, char **who, char **text
215 215
216 'gc' is the connection that received the message. 216 'gc' is the connection that received the message.
217 'who' should be too. 217 'who' should be too.
218 'text' is the message that got sent. 218 'text' is the message that got sent.
219 'id' is the id of the room that received the message (see 219 'id' is the id of the room that received the message (see
220 event_chat_join) 220 event_chat_join)
221
222 Like event_im_recv, you are allowed and encouraged to change
223 these values
221 224
222 Note that because of the bizarre way chat works, you also receive 225 Note that because of the bizarre way chat works, you also receive
223 messages that you send. I didn't design it, AOL did. 226 messages that you send. I didn't design it, AOL did.
224 227
225 event_chat_send: 228 event_chat_send: