comparison mcabber/mcabber/hooks.h @ 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 5d37cee8c6c6
children a54c084af4d6
comparison
equal deleted inserted replaced
2140:77cb7f328723 2141:e702073612de
15 15
16 // Core hooks 16 // Core hooks
17 #define HOOK_PRE_MESSAGE_IN "hook-pre-message-in" 17 #define HOOK_PRE_MESSAGE_IN "hook-pre-message-in"
18 #define HOOK_POST_MESSAGE_IN "hook-post-message-in" 18 #define HOOK_POST_MESSAGE_IN "hook-post-message-in"
19 #define HOOK_MESSAGE_OUT "hook-message-out" 19 #define HOOK_MESSAGE_OUT "hook-message-out"
20 #define HOOK_MDR_RECEIVED "hook-mdr-received"
20 #define HOOK_STATUS_CHANGE "hook-status-change" 21 #define HOOK_STATUS_CHANGE "hook-status-change"
21 #define HOOK_MY_STATUS_CHANGE "hook-my-status-change" 22 #define HOOK_MY_STATUS_CHANGE "hook-my-status-change"
22 #define HOOK_POST_CONNECT "hook-post-connect" 23 #define HOOK_POST_CONNECT "hook-post-connect"
23 #define HOOK_PRE_DISCONNECT "hook-pre-disconnect" 24 #define HOOK_PRE_DISCONNECT "hook-pre-disconnect"
24 #define HOOK_UNREAD_LIST_CHANGE "hook-unread-list-change" 25 #define HOOK_UNREAD_LIST_CHANGE "hook-unread-list-change"