|
@@ -97,16 +97,6 @@ module:hook("muc-occupant-joined", function (event)
|
97
|
97
|
end
|
98
|
98
|
end, 2);
|
99
|
99
|
|
100
|
|
-module:hook("muc-occupant-left", function (event)
|
101
|
|
- local room, occupant = event.room, event.occupant;
|
102
|
|
-
|
103
|
|
- if is_healthcheck_room(room.jid) then
|
104
|
|
- return;
|
105
|
|
- end
|
106
|
|
-
|
107
|
|
- room:set_affiliation(true, occupant.bare_jid, nil);
|
108
|
|
-end, 2);
|
109
|
|
-
|
110
|
100
|
module:hook_global('config-reloaded', load_config);
|
111
|
101
|
|
112
|
102
|
-- Filters self-presences to a jid that exist in joining_participants array
|