I'm working migrating a jabberd network to ejabberd, and I'm trying to cross one more hurdle. Currently, with jabberd, when you browse for services and browse chat rooms, you are presented with a list of muc servers, all containing several rooms each. I need to find a way to duplicate this functionality with ejabberd.
I have a cluster with three nodes. Two of these nodes have mod_muc installed using different host names. When mod_muc is loaded on both servers, I see two "Chatrooms" listings when you browse for services. This is good, but I need to find a way to change the display name from "Chatrooms" to something else. Is there a way I can change that display name to match that of the hostname or something other than just Chatrooms?
draven wrote: I have a
I have a cluster with three nodes. Two of these nodes have mod_muc installed using different host names. When mod_muc is loaded on both servers, I see two "Chatrooms" listings when you browse for services. This is good, but I need to find a way to change the display name from "Chatrooms" to something else. Is there a way I can change that display name to match that of the hostname or something other than just Chatrooms?
There isn't an option in ejabberd to modify what string to show as muc name.
A solution is to modify the source code in each node:
{"name", translate:translate(Lang, "Chatrooms in jabber.example.org")}], []},
You can also submit this feature request to the ejabberd bug tracker.