mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
* src/mod_muc/mod_muc.erl: Node now try to clean its own online room when restarting (EJAB-182).
SVN Revision: 725
This commit is contained in:
parent
3c44f24aad
commit
1f4ea1f302
@ -1,3 +1,8 @@
|
||||
2007-02-18 Mickael Remond <mickael.remond@process-one.net>
|
||||
|
||||
* src/mod_muc/mod_muc.erl: Node now try to clean its own online room
|
||||
when restarting (EJAB-182).
|
||||
|
||||
2007-02-13 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* src/mod_muc/mod_muc.erl: Clean online room table on cluster node
|
||||
|
@ -146,6 +146,7 @@ init([Host, Opts]) ->
|
||||
[{ram_copies, [node()]},
|
||||
{attributes, record_info(fields, muc_online_room)}]),
|
||||
mnesia:add_table_copy(muc_online_room, node(), ram_copies),
|
||||
clean_table_from_bad_node(node()),
|
||||
MyHost = gen_mod:get_opt(host, Opts, "conference." ++ Host),
|
||||
update_tables(MyHost),
|
||||
mnesia:add_table_index(muc_registered, nick),
|
||||
|
Loading…
Reference in New Issue
Block a user