comparison mcabber/doc/HOWTO_modules.txt @ 2141:e702073612de

Add "hook-mdr-received" hook This hook is triggered when a XEP-0184 Message Delivery Report is received.
author Mikael Berthe <mikael@lilotux.net>
date Sun, 06 Jul 2014 14:48:59 +0200
parents 3cabdacf58df
children a54c084af4d6
comparison
equal deleted inserted replaced
2140:77cb7f328723 2141:e702073612de
213 the message wasn't delayed 213 the message wasn't delayed
214 * error - "true" if this is an error message 214 * error - "true" if this is an error message
215 - hook-message-out (HOOK_MESSAGE_OUT) with parameters 215 - hook-message-out (HOOK_MESSAGE_OUT) with parameters
216 * jid - recipient of the outgoing message 216 * jid - recipient of the outgoing message
217 * message - message body, converted to locale charset 217 * message - message body, converted to locale charset
218 - hook-mdr-received (HOOK_MDR_RECEIVED) with parameter
219 * jid - recipient of the outgoing message
218 - hook-status-change (HOOK_STATUS_CHANGE) with 220 - hook-status-change (HOOK_STATUS_CHANGE) with
219 parameters 221 parameters
220 * jid - buddy, whose status has changed 222 * jid - buddy, whose status has changed
221 * resource - resource, whose status has changed 223 * resource - resource, whose status has changed
222 * old_status - old status of the buddy, one-char string, 224 * old_status - old status of the buddy, one-char string,