[ejabberd] mod_muc

"Sergio Álvarez (xergio)" listas at xergio.net
Fri May 5 23:48:32 MSD 2006


Peter Saint-Andre wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Someone poked me via IM as follows:
> 
>    Any chance of getting the disco information for conference.j.o
>    to say something prettier than "ejabberd/mod_muc"?
> 
> Is that subject to configuration?

Try this:

- cd ejabberd-version/src/
- Open file mod_muc/mod_muc.erl
- Find this lines (about 440):
iq_disco_info() ->
     [{xmlelement, "identity",
       [{"category", "conference"},
        {"type", "text"},
        {"name", "ejabberd/mod_muc"}], []},
      {xmlelement, "feature", [{"var", ?NS_MUC}], []},
      {xmlelement, "feature", [{"var", ?NS_REGISTER}], []},
      {xmlelement, "feature", [{"var", ?NS_VCARD}], []}].

- Edit line {"name", "ejabberd/mod_muc"}], []},
   for something like... {"name", "Conference rooms"}], []},

- Increase value of -vsn('$Revision: 501 $ '). line (at the beginning)
- Save changes and make && make install
- Go to web interface as admin and got to Nodes > node at name > Update and 
press Update button (in "Updated modules" list must appear mod_muc)
- Disco services and BINGO! :D

Try to disco my server services, jabberland.com, and you can see that it 
run ok ;)

> 
> Peter
> 
> - --
> Peter Saint-Andre
> Jabber Software Foundation
> http://www.jabber.org/people/stpeter.shtml
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFEW6hmNF1RSzyt3NURAqiyAJ47OwXA5TMMA6I5MQq216GqwC7+wgCbBjij
> EY+WsxckNjK6PaVj9Q/xb/Q=
> =w6A1
> -----END PGP SIGNATURE-----
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

-- 
_______________________________________________
  Sergio Álvarez Muñoz
  León, Spain
_______________________________________________
  email: mail at xergio.net
   blog: http://xergio.net
     im: xergio at jabberland.com
_______________________________________________
  Sorry for my english, I know it's bad


More information about the ejabberd mailing list