comparison 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
comparison
equal deleted inserted replaced
1905:68a4f8dda3e7 1906:5d37cee8c6c6
233 - hook-unread-list-change (HOOK_UNREAD_LIST_CHANGE) 233 - hook-unread-list-change (HOOK_UNREAD_LIST_CHANGE)
234 * unread - number of buffers with the pending message flag (#) 234 * unread - number of buffers with the pending message flag (#)
235 * attention - number of non-MUC buffers with the attention sign (!) 235 * attention - number of non-MUC buffers with the attention sign (!)
236 * muc_unread - number of MUC buffers with the unread message flag 236 * muc_unread - number of MUC buffers with the unread message flag
237 * muc_attention - number of MUC buffers with the attention sign 237 * muc_attention - number of MUC buffers with the attention sign
238 - hook-subscription (HOOK_SUBSCRIPTION)
239 * type - the type of the subscription message received. Can be one
240 of subscribe, unsubscribe, subscribed, unsubscribed.
241 * jid - sender of the incoming subscription message
242 * message - optional message sent with the request
238 243
239 244
240 ------------------------------------------------------------------------ 245 ------------------------------------------------------------------------
241 #include <mcabber/xmpp_helper.h> 246 #include <mcabber/xmpp_helper.h>
242 247