[How to] Get notified about kick event in prosody?

Hello Jitsi Community.

Is there a hook or signal in prosody to get notified when someone is kicked out?

@Kuzey there is a Prosody status code 307 when a user is kicked. See https://xmpp.org/extensions/xep-0045.html#kick

You will have to do some research to verify if Jitsi is setting this status code (I believe they are).