How can users only see their own virtual host?

I have two virtual hosts running on ejabberd.
Is it possible to cut any communication between the hosts?
Now I use a shared roster with a @all@ group, so each one sees the contacts that he should see.
If I can't block the cross-host communication then is it possible to block "add contact"? Since I control all rosters it would solve my problem.

satjat wrote: I have two

satjat wrote:

I have two virtual hosts running on ejabberd.
Is it possible to cut any communication between the hosts?

There isn't an option in ejabberd for this. Bug looking at an example of mod_filter, it seems that module will do the trick once configured.

satjat wrote:

is it possible to block "add contact"?

Not easily. Maybe using mod_filter.

Syndicate content