I think this is a known feature request, but I couldn't find an issue for it.
Basically would be nice to be able to set one or more default MUCs that all (new) users have bookmarked by default. F.e. like a "home" or "landing" MUC for support.
<iq xml:lang='es'
to='user1@localhost/tka1'
from='user1@localhost'
type='result'
id='65:805683'>
<query xmlns='jabber:iq:roster'>
<item subscription='both'
jid='[email protected]'>
<group>rooms</group>
</item>
<item subscription='both'
name='user2'
jid='user2@localhost'/>
</query>
</iq>
That's awesome! Didn't know members could be chatrooms!
For the record, though, it's @all@ in lowercase.
The solution I provided in a previous comment (to use mod_shared_roster), is problematic because not all clients will handle that.
A similar request was posted in #2649, and the solution there was to use send_stanza and send a full PEP stanza, but that works only with newer clients that support that.
Another solution would be to write a command that builds a room bookmark (XEP-0048) and stores it in private storage (XEP-0049) and in PEP (XEP-0163) to accommodate all kind of clients.
I was thinking about having my custom invitation tool (a tiny web server that handles a form with invitation codes) to just use the API to send a MUC invitation. Is it possible to add bookmarks with the API? I know these are only half-solutions for the actual problem of this issue, because they require custom code.
@badlop Wouldn't the most straightforward solution be a plugin like Prosody's equivalent? I think a lot of servers just have some kind of "landing muc" think they want to have for newbies to not get lost. So I don't think it's dynamic data.
See the recently mod_default_rooms in: https://github.com/processone/ejabberd-contrib/commit/d60fa5e9b3f3093f7d5cec22ff71117f8c0b7b31
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
The solution I provided in a previous comment (to use mod_shared_roster), is problematic because not all clients will handle that.
A similar request was posted in #2649, and the solution there was to use send_stanza and send a full PEP stanza, but that works only with newer clients that support that.
Another solution would be to write a command that builds a room bookmark (XEP-0048) and stores it in private storage (XEP-0049) and in PEP (XEP-0163) to accommodate all kind of clients.