]> granicus.if.org Git - ejabberd/commit
Introduce muc_invite hook
authorMarc Philipp <marc.philipp@citrix.com>
Fri, 14 Oct 2016 10:52:59 +0000 (12:52 +0200)
committerMarc Philipp <marc.philipp@citrix.com>
Fri, 14 Oct 2016 10:52:59 +0000 (12:52 +0200)
commita1faecc4c968c769da97f400032c9c02e011dfae
tree9e36f44878f691533499dba6753c728e2062c3d2
parentd97e777c9bc721a6b342b1f941150de0f94ff15d
Introduce muc_invite hook

This adds a new hook that is triggered for each invite to an MUC room:

- muc_invite(RoomJID, RoomConfig, From, To, Reason) -> ok

where

- RoomJID = From = To = #jid (see jlib.h)
- RoomConfig = #config (see mod_muc_room.hrl)
- Reason = binary()
src/mod_muc_room.erl