comparison mcabber/doc/HOWTO_modules.txt @ 1892:ea3f9b4f3558

Add "delayed" argument to the message-in hooks
author Mikael Berthe <mikael@lilotux.net>
date Sun, 11 Apr 2010 17:20:32 +0200
parents 7befbd8e932d
children 5d37cee8c6c6
comparison
equal deleted inserted replaced
1891:88c01c561a40 1892:ea3f9b4f3558
196 - hook-pre-message-in (HOOK_PRE_MESSAGE_IN) with parameters 196 - hook-pre-message-in (HOOK_PRE_MESSAGE_IN) with parameters
197 * jid - sender of the incoming message 197 * jid - sender of the incoming message
198 * resource - resource of the incoming message 198 * resource - resource of the incoming message
199 * message - message body, converted to locale charset 199 * message - message body, converted to locale charset
200 * groupchat - ("true" or "false") 200 * groupchat - ("true" or "false")
201 * delayed - message timestamp (ISO-8601 string) or empty string if
202 the message wasn't delayed
201 - hook-post-message-in (HOOK_POST_MESSAGE_IN) with parameters 203 - hook-post-message-in (HOOK_POST_MESSAGE_IN) with parameters
202 * jid - sender of the incoming message 204 * jid - sender of the incoming message
203 * resource - resource of the incoming message 205 * resource - resource of the incoming message
204 * message - message body, converted to locale charset 206 * message - message body, converted to locale charset
205 * groupchat - ("true" or "false") 207 * groupchat - ("true" or "false")
206 * attention - In a MUC message, true if you've been highlighted 208 * attention - In a MUC message, true if you've been highlighted
207 In a regular message, true if the sender has requested your 209 In a regular message, true if the sender has requested your
208 attention (only implemented for MUC currently) 210 attention (only implemented for MUC currently)
211 * delayed - message timestamp (ISO-8601 string) or empty string if
212 the message wasn't delayed
209 - hook-message-out (HOOK_MESSAGE_OUT) with parameters 213 - hook-message-out (HOOK_MESSAGE_OUT) with parameters
210 * jid - recipient of the outgoing message 214 * jid - recipient of the outgoing message
211 * message - message body, converted to locale charset 215 * message - message body, converted to locale charset
212 - hook-status-change (HOOK_STATUS_CHANGE) with 216 - hook-status-change (HOOK_STATUS_CHANGE) with
213 parameters 217 parameters