25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

* src/mod_muc/mod_muc_room.erl: API improvement: It is now easier to extract

data from the MUC room process (EJAB-157).

SVN Revision: 677
This commit is contained in:
Mickaël Rémond 2006-11-15 11:41:26 +00:00
parent 091d2bcb00
commit c1192ebedb
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-11-15 Mickael Remond <mickael.remond@process-one.net>
* src/mod_muc/mod_muc_room.erl: API improvement: It is now easier to
extract data from the MUC room process.
2006-11-07 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_node_groups.erl: Support for node tagging

View File

@ -648,6 +648,10 @@ handle_sync_event({get_disco_item, JID, Lang}, _From, StateName, StateData) ->
false
end,
{reply, Reply, StateName, StateData};
handle_sync_event(get_config, _From, StateName, StateData) ->
{reply, StateData#state.config, StateName, StateData};
handle_sync_event(get_state, _From, StateName, StateData) ->
{reply, StateData, StateName, StateData};
handle_sync_event(_Event, _From, StateName, StateData) ->
Reply = ok,
{reply, Reply, StateName, StateData}.