Преглед изворни кода

fix: Fixes filtering lobby presences.

master
damencho пре 4 година
родитељ
комит
30a2e84da1
1 измењених фајлова са 2 додато и 4 уклоњено
  1. 2
    4
      resources/prosody-plugins/mod_muc_lobby_rooms.lua

+ 2
- 4
resources/prosody-plugins/mod_muc_lobby_rooms.lua Прегледај датотеку

148
     end
148
     end
149
 end
149
 end
150
 function filter_session(session)
150
 function filter_session(session)
151
-    if session.host and session.host == module.host then
152
-        -- domain mapper is filtering on default priority 0, and we need it after that
153
-        filters.add_filter(session, 'stanzas/out', filter_stanza, -1);
154
-    end
151
+    -- domain mapper is filtering on default priority 0, and we need it after that
152
+    filters.add_filter(session, 'stanzas/out', filter_stanza, -1);
155
 end
153
 end
156
 
154
 
157
 function attach_lobby_room(room)
155
 function attach_lobby_room(room)

Loading…
Откажи
Сачувај