diff 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
line wrap: on
line diff
--- a/mcabber/doc/HOWTO_modules.txt	Sun Apr 11 16:20:18 2010 +0200
+++ b/mcabber/doc/HOWTO_modules.txt	Sun Apr 11 17:20:32 2010 +0200
@@ -198,6 +198,8 @@
    * resource - resource of the incoming message
    * message - message body, converted to locale charset
    * groupchat - ("true" or "false")
+   * delayed - message timestamp (ISO-8601 string) or empty string if
+     the message wasn't delayed
  - hook-post-message-in (HOOK_POST_MESSAGE_IN) with parameters
    * jid - sender of the incoming message
    * resource - resource of the incoming message
@@ -206,6 +208,8 @@
    * attention - In a MUC message, true if you've been highlighted
      In a regular message, true if the sender has requested your
      attention (only implemented for MUC currently)
+   * delayed - message timestamp (ISO-8601 string) or empty string if
+     the message wasn't delayed
  - hook-message-out (HOOK_MESSAGE_OUT) with parameters
    * jid - recipient of the outgoing message
    * message - message body, converted to locale charset