Single shared pubsub for multiple domains, but with PEP support

I have been using a setup where multiple virtual hosts use the same pubsub module:

host_config:
  "a.example.com":
    modules:
      mod_pubsub:
        host: pubsub.a.example.com
        ...
  "b.example.com":
    modules:
      mod_disco:
        extra_domains:
        - "pubsub.b.example.com"
        ...

Then, users from both virtual hosts see the the same pubsub service. So far, so good.

However, users on host b.example.com will not have PEP activated, so there is no OMEMO (and much more) for them.

I tried adding mod_pubsub with hosts: {} or host: pubsub.a.example.com, as both create the (undesirable) "pubsub.b.example.com".

What is the correct way to add pubsub to a virtual host for PEP only?

Syndicate content