Thank you for the super quick reply @guus.
I think we would probably be best handling it at the server in the first instance…
So my aim is that any player at any football team, can start a conversation with another “football team”.
I understand this is effectively Player (user level) -> Entire Team (multi-user level) chat initialisation.
This may happen between many teams, and may also be between multiple teams… i.e.
Player -> Entire Team A, Entire Team B.
One further requirement is that when a chat is started by a player, all of his own team mates are also added.
So I think (if I understand your design)…
I organise all players into team groups (can you give me the XEP for this? I see a few).
I create a new MUC room in the MUC manager each time a new bilateral chat is started. (how do I know a user has started a new chat between teams?)
Add the groups (teams) as needed
I greatly appreciate your help.