[ejabberd] Re: chatroom logging notice

Magnus Henoch mange at freemail.hu
Tue Nov 21 11:46:51 MSK 2006


Carl Hayter <hayter at usc.edu> writes:

> I'm just looking for a few pointers before i dive into the code. :)
>
> Some of my users are concerned about the possibility that a muc room
> may be logged. (our logs are easily available on a yaws webserver).
>
> I would like to hack the muc code so that when joining a muc room that
> has logging enabled, a message would be sent to the user.  maybe something
> like:
>
> "Warning:  This chatroom is logged, and the logs are public!  see: *URL*
> for more information."
>
> ...
>
> Has anybody done something similar to this?  And (before I dig into code)
> can anybody point out the best place to add such functionality?

Spoiling all the fun for you, search for "This room is not anonymous"
in mod_muc_room.erl.  Doing what you want should be analogous to
sending that message.

-- 
Magnus
JID: legoscia at jabber.cd.chalmers.se



More information about the ejabberd mailing list