When client logs out, this external component will get who logs out and do some other tasks. If support, how can I config in the configuration file? Thank you very much
To access the most up-to-date ejabberd documentation, please visit docs.ejabberd.im »
When client logs out, this external component will get who logs out and do some other tasks. If support, how can I config in the configuration file? Thank you very much
btw: I am a novice for
btw: I am a novice for ejabberd.
Alternative solution idea
I don't know much about external Jabber components. If what you planned is not possible that way, there may be other solutions.
Another solution that I just thought about is an ejabberd module (for example called mod_logout_exec) that awaits for client disconnections (like mod_last does). When a client disconnects, it executes a preconfigured system program and provides the account that disconnected (for example it runs "/home/ejabberd/user_logged_out.sh bob@example.org").
Then you can write a program in your preferred language that makes the tasks that you wanted to do.
I am curious, what usage could have this feature?