ejabberd - Comments for "Hook to listen for presence changes in chat rooms" https://www.ejabberd.im/forum/25037/hook-listen-presence-changes-chat-rooms en Development is on ejabberd https://www.ejabberd.im/forum/25037/hook-listen-presence-changes-chat-rooms#comment-66005 <p>Development is on <noindex><a href="https://github.com/processone/ejabberd" rel="nofollow" >ejabberd Github</a></noindex>. The <code>muc_filter_presence</code> hook has already been added: <noindex><a href="https://github.com/processone/ejabberd/commit/6e61932765f9ae8e290b88cce5c2ed574fb4bbe7" title="https://github.com/processone/ejabberd/commit/6e61932765f9ae8e290b88cce5c2ed574fb4bbe7" rel="nofollow" >https://github.com/processone/ejabberd/commit/6e61932765f9ae8e290b88cce5...</a></noindex></p> Thu, 06 Aug 2015 09:06:58 +0000 mremond comment 66005 at https://www.ejabberd.im this is excellent news! how https://www.ejabberd.im/forum/25037/hook-listen-presence-changes-chat-rooms#comment-66003 <p>this is excellent news! how can I keep track of such developments? Just to have an idea when it's available, thanks</p> Wed, 05 Aug 2015 09:24:53 +0000 nunobhorta comment 66003 at https://www.ejabberd.im After discussion with other https://www.ejabberd.im/forum/25037/hook-listen-presence-changes-chat-rooms#comment-65997 <p>After discussion with other developers: Let's rename it, as it is not too late and let's add the muc_filter_presence hook as well :)<br /> We have already added muc_process_iq API (not filtering) so we should be quite complete.</p> Tue, 04 Aug 2015 11:27:23 +0000 mremond comment 65997 at https://www.ejabberd.im Currently yes. Shall we https://www.ejabberd.im/forum/25037/hook-listen-presence-changes-chat-rooms#comment-65996 <p>Currently yes. Shall we rename the current hook and add a new <code>muc_filter_presence</code> hook? Or stick to the <code>muc_filter_packet</code> name and use it both for message and presence stanzas?</p> Tue, 04 Aug 2015 11:12:01 +0000 holger comment 65996 at https://www.ejabberd.im Ah, in that case, it is more https://www.ejabberd.im/forum/25037/hook-listen-presence-changes-chat-rooms#comment-65994 <p>Ah, in that case, it is more muc_filter_message ?</p> Tue, 04 Aug 2015 10:47:13 +0000 mremond comment 65994 at https://www.ejabberd.im The muc_filter_packet hook is https://www.ejabberd.im/forum/25037/hook-listen-presence-changes-chat-rooms#comment-65993 <p>The <code>muc_filter_packet</code> hook is currently only triggered on groupchat messages, I'm afraid. But I guess we could easily run the same hook on presence stanzas.</p> Tue, 04 Aug 2015 10:28:16 +0000 holger comment 65993 at https://www.ejabberd.im I'll have to update to the https://www.ejabberd.im/forum/25037/hook-listen-presence-changes-chat-rooms#comment-65992 <p>I'll have to update to the latest release but I will definitely try that! thanks</p> Tue, 04 Aug 2015 08:10:31 +0000 nunobhorta comment 65992 at https://www.ejabberd.im There is no hook only for https://www.ejabberd.im/forum/25037/hook-listen-presence-changes-chat-rooms#comment-65991 <p>There is no hook only for presence change in MUC room, but you there is a hook for packet filter in MUC. you should look at the new <a href="https://blog.process-one.net/ejabberd-15-07-released-summer-progress/">muc_filter_packet hook added in ejabberd 15.07</a></p> Mon, 03 Aug 2015 20:26:34 +0000 mremond comment 65991 at https://www.ejabberd.im