erlang - documentation for ejabberd hooks? -
It seems that easing is very easy to increase the fuselage.
Can someone share some details with his experiences which tells what a particular hook does?
There will be some events on which you can start some action. When an event occurs, add your code to some components of the ebb board. You can write your own custom code (AIC event handler) and it can integrate it with hook in ejbird.
- filter_packet : This hook is run by ezberbirdrouper as is done through packet ezbaserdraft: route / 3 Ejabberd_c2s it is a packet from ejabberd_receiver (i.e. socket) After receiving, and many modules use it to send replies and errors.
- Offline_message_hook : When ejabberd is the trends and recipients
- user_receive_packet : the hook is played after the packet is sent to the user .
Comments
Post a Comment