I want to use ejabberd server for chat server, but I need to use elixir hooks for that server do not have properties, is it possible to success this one?
I think your best bet is using an ejabberd module, and register your hook in the start
function inherited from the gen_mod
behavior. This tutorial can show you how to build a module with hook support: Elixir Sips: ejabberd with Elixir – Part 2 / ProcessOne and here is a small ‘real’ module I wrote a while back as an example: mod_auto_cluster/mod_auto_cluster.ex at master · mpope9/mod_auto_cluster · GitHub
thx so much, I like it, it is amazing
tnx again for ur answer, appreciated :), if you want to create a chat app like whats app or wechat for Billion users, ejabberd with elixir hooks will be enough for it, or U have to create your own xmpp chat server?