Skip to content

Commit 9f8c355

Browse files
committed
mod_muc_room: Fix hook name in commit 7732984 (thanks to trixnz)(processone#4526)
1 parent 4f65cba commit 9f8c355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mod_muc_room.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2152,7 +2152,7 @@ filter_presence_hook(#state{users = Users} = StateData, Nick, #presence{from = F
21522152
end,
21532153
Pres2 = xmpp:append_subtags(xmpp:remove_subtag(Pres, #occupant_id{}),
21542154
[#occupant_id{id = OccupantId}]),
2155-
ejabberd_hooks:run_fold(muc_filter_message,
2155+
ejabberd_hooks:run_fold(muc_filter_presence,
21562156
StateData#state.server_host,
21572157
Pres2,
21582158
[StateData, Nick]).

0 commit comments

Comments
 (0)