I enabled mod_group and create a group.txt with:
For some reason, emiliamln@myserver doesn't appear in the group.
Here is what I have in the logs for her:
Jul 07 17:42:25 myserver:groups debug New group: Teachers
Jul 07 17:42:25 myserver:groups debug entryjid = 'emiliamln@myserver', name = ''
Jul 07 17:42:25 myserver:groups debug New member of Teachers: emiliamln@myserver
Jul 07 17:42:25 myserver:groups debug entryjid = '', name = ''
entryjid = '', name = '' isn't empty for the two other ones that work...
It now works: the contact has to accept the invitation before it works.
I was going test this, so I saved the text in the issue into a file. When opening that file, I see:
What is that U+200E LEFT-TO-RIGHT MARK doing there? It is not valid in JIDs.
From looking at the code, I'm guessing the JID fails to validate and is ignored.
There is no logging for that however, which is probably a bug.
And no, mod_groups overrides rosters so you don't need to accept invites.