mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Rename remove_room hook back
This commit is contained in:
parent
7d626b4f5c
commit
a96d72330d
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ restore_room(ServerHost, Host, Name) ->
|
|||
|
||||
forget_room(ServerHost, Host, Name) ->
|
||||
LServer = jid:nameprep(ServerHost),
|
||||
ejabberd_hooks:run(destroy_room, LServer, [LServer, Name, Host]),
|
||||
ejabberd_hooks:run(remove_room, LServer, [LServer, Name, Host]),
|
||||
Mod = gen_mod:db_mod(LServer, ?MODULE),
|
||||
Mod:forget_room(LServer, Host, Name).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue