Configure ejabberd to send message to random resource

In a scenario where a user is connected to an ejabberd server through several resources.
When one of the resources goes down, is there a way to deliver the messages to only one of the remaining resources randomly instead of using priorities?

RFC6121, clause 8.5.2.1.1

RFC6121, clause 8.5.2.1.1 does not allow the random choice of resources.

Syndicate content