ソースを参照

fix: Fixes filtering lobby presences.

j8
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)

読み込み中…
キャンセル
保存