0

I want to isolate some users of Ejabberd. I mean that only specific users within a list (in database, json, or any other format) can interact (chat, subscribe, etc). Is this possible by developing a plugin or I need to hack Ejabbed code?

1 Answers1

0

It is possible by developing a plugin. You can for example, use the filter_packet hook in ejabberd.

You can find the list of hooks on ejabberd documentation site for developers.

Mickaël Rémond
  • 9,035
  • 1
  • 24
  • 44
  • filter_packet does the job. In case somebody else want more details here is a simple example http://stackoverflow.com/questions/1939879/how-to-filter-messages-in-ejabberd –  Oct 12 '15 at 03:10