fix: Fixes filtering lobby presences.

This commit is contained in:
damencho 2021-03-08 12:38:59 -06:00 committed by Дамян Минков
parent 3122983000
commit 30a2e84da1
1 changed files with 2 additions and 4 deletions

View File

@ -148,10 +148,8 @@ function filter_stanza(stanza)
end
end
function filter_session(session)
if session.host and session.host == module.host then
-- domain mapper is filtering on default priority 0, and we need it after that
filters.add_filter(session, 'stanzas/out', filter_stanza, -1);
end
-- domain mapper is filtering on default priority 0, and we need it after that
filters.add_filter(session, 'stanzas/out', filter_stanza, -1);
end
function attach_lobby_room(room)