3

Is it possible to configure ejabberd to forward messages to every online instance of, say, user joe and not just the one with the highest priority value?

I'll also appreciate references to the XMPP standard with pointers how to accomplish this.

2 Answers 2

2

I think that the reason why this hasn't been covered by anybody because a initial google turns up absolutely nothing..

Slightly more advanced goggle-fu shows that when the priority of all resources of a given user are the same then the message will be multicast to all available resources https://www.ejabberd.im/node/4994

I could also find someone who put together a modified ejabberd which multicast to all resources (regardless of priority) https://www.ejabberd.im/node/5233

So this is possible, but may require a bit of hacking of the source ( the simplest option would be to simply force priority 1 for all sessions. )

1

The official solution is for clients to declare support for message carbons. This is the modern way of delivering, which supports multiple devices.

1
  • Thanks, of course this XEP is considerably newer than my question, but still valuable to have that answer here for future reference. Dec 10, 2018 at 8:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .