Mercurial > pidgin.yaz
diff plugins/SIGNALS @ 2273:0b5c3338fa3d
[gaim-migrate @ 2283]
One of the girls on the floor of my sister's dorm lost both her parents when their plane was hijacked and crashed into the World Trade Center. my girlfriend's boss's sister-in-law's brother died when the building collapsed. my parents flew to atlanta on monday; they're safe but currently stranded there. they had planned on flying to Raleigh, NC today but now are just hoping to be able to fly home soon. how did this happen?
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 12 Sep 2001 21:29:32 +0000 |
parents | 0b81421021fd |
children | a49e8f1afbc4 |
line wrap: on
line diff
--- a/plugins/SIGNALS Wed Sep 12 18:57:46 2001 +0000 +++ b/plugins/SIGNALS Wed Sep 12 21:29:32 2001 +0000 @@ -92,12 +92,13 @@ removed eventually. event_im_recv: - struct gaim_connection *gc, char **who, char **text + 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. 'text' is the actual strict text (with HTML tags and all) of the message they sent. + 'flags' is message flags. Note that you can modify these values. (You are encouraged to do so!) Note that *other* plugins can also modify these values, so you should @@ -107,6 +108,9 @@ Unfortunately, it means that most plugins that use this event need to be slightly modified and then recompiled. + flags is actually a bit mask. AND with IM_FLAG_AWAY to see if they were + away, etc. + event_im_send: struct gaim_connection *gc, char *who, char **text @@ -287,7 +291,7 @@ won't be displayed at all. event_im_displayed_rcvd: - struct gaim_connection *gc, char *who, char *what + struct gaim_connection *gc, char *who, char *what, guint32 flags This is called after what you receive is displayed. This is useful for displaying an autoresponse after the message that triggered it. @@ -297,3 +301,4 @@ 'gc' is the connection the message was received on. 'who' is who sent the message. 'what' is what was sent. + 'flags' is flags on the message.