mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Implement gen_mod callback in ModPresenceDemo module
This commit is contained in:
parent
2ef58a33a9
commit
76eba3647a
@ -18,4 +18,9 @@ defmodule ModPresenceDemo do
|
|||||||
info('Receive presence for #{user}')
|
info('Receive presence for #{user}')
|
||||||
:none
|
:none
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# gen_mod callbacks
|
||||||
|
def depends(_host, _opts), do: []
|
||||||
|
def mod_opt_type(_), do: []
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user