mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Bugfix in starting persistent rooms when mod_muc odbc (EJAB-1365)
This commit is contained in:
parent
93787bee73
commit
8c4e4e5f91
@ -745,7 +745,7 @@ terminate({migrated, Clone}, _StateName, StateData) ->
|
||||
?INFO_MSG("Migrating room ~s@~s to ~p on node ~p",
|
||||
[StateData#state.room, StateData#state.host,
|
||||
Clone, node(Clone)]),
|
||||
mod_muc:room_destroyed(StateData#state.host, StateData#state.room,
|
||||
mod_muc:room_destroyed(StateData#state.host, list_to_binary(StateData#state.room),
|
||||
self(), StateData#state.server_host),
|
||||
ok;
|
||||
terminate(Reason, _StateName, StateData) ->
|
||||
@ -784,7 +784,7 @@ terminate(Reason, _StateName, StateData) ->
|
||||
tab_remove_online_user(LJID, StateData)
|
||||
end, [], StateData#state.users),
|
||||
add_to_log(room_existence, stopped, StateData),
|
||||
mod_muc:room_destroyed(StateData#state.host, StateData#state.room, self(),
|
||||
mod_muc:room_destroyed(StateData#state.host, list_to_binary(StateData#state.room), self(),
|
||||
StateData#state.server_host),
|
||||
ok.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user