diff mcabber/doc/HOWTO_modules.txt @ 1906:5d37cee8c6c6

Add "hook-subscription" hook and hk_subscription()
author Mikael Berthe <mikael@lilotux.net>
date Sat, 17 Apr 2010 14:03:37 +0200
parents ea3f9b4f3558
children 3cabdacf58df
line wrap: on
line diff
--- a/mcabber/doc/HOWTO_modules.txt	Sat Apr 17 12:31:35 2010 +0200
+++ b/mcabber/doc/HOWTO_modules.txt	Sat Apr 17 14:03:37 2010 +0200
@@ -235,6 +235,11 @@
    * attention - number of non-MUC buffers with the attention sign (!)
    * muc_unread - number of MUC buffers with the unread message flag
    * muc_attention - number of MUC buffers with the attention sign
+ - hook-subscription (HOOK_SUBSCRIPTION)
+   * type - the type of the subscription message received.  Can be one
+     of subscribe, unsubscribe, subscribed, unsubscribed.
+   * jid - sender of the incoming subscription message
+   * message - optional message sent with the request
 
 
 ------------------------------------------------------------------------