diff mcabber/doc/HOWTO_modules.txt @ 2156:a54c084af4d6

Add a "carbon" parameter to the hook-{pre,post}-message-in hooks
author Mikael Berthe <mikael@lilotux.net>
date Sat, 04 Oct 2014 20:38:41 +0200
parents e702073612de
children
line wrap: on
line diff
--- a/mcabber/doc/HOWTO_modules.txt	Sat Oct 04 18:49:52 2014 +0200
+++ b/mcabber/doc/HOWTO_modules.txt	Sat Oct 04 20:38:41 2014 +0200
@@ -201,6 +201,7 @@
    * delayed - message timestamp (ISO-8601 string) or empty string if
      the message wasn't delayed
    * error - "true" if this is an error message
+   * carbon - "true" if this is a message carbon (cf. XEP-0280)
  - hook-post-message-in (HOOK_POST_MESSAGE_IN) with parameters
    * jid - sender of the incoming message
    * resource - resource of the incoming message
@@ -212,6 +213,7 @@
    * delayed - message timestamp (ISO-8601 string) or empty string if
      the message wasn't delayed
    * error - "true" if this is an error message
+   * carbon - "true" if this is a message carbon (cf. XEP-0280)
  - hook-message-out (HOOK_MESSAGE_OUT) with parameters
    * jid - recipient of the outgoing message
    * message - message body, converted to locale charset