change_room_option

Hi
how to change presence_broadcast using change_room_option MUC command?
I add mod_muc_admin module:

change_option(Option, Value, Config) ->
  case Option of
    presence_broadcast -> Config#config{presence_broadcast = Value};

It changes to (wrong format)

{presence_broadcast,'[moderator,participant,visitor]'}

not

{presence_broadcast,[moderator,participant,visitor]}

You are right, that option is

You are right, that option is not parsed and not stored. See my new commit, it has another important line:
https://github.com/processone/ejabberd/commit/0982a9bc3c8701f4cce00c67ac...

thanks alot

thanks alot

Syndicate content