@@ -532,7 +532,7 @@ function is_sip_jibri_join(stanza)
end
function is_jibri(occupant)
- return starts_with_one_of(occupant.jid, RECORDER_PREFIXES)
+ return starts_with_one_of(type(occupant) == "string" and occupant or occupant.jid, RECORDER_PREFIXES)
-- process a host module directly if loaded or hooks to wait for its load