Files
ansible-roles/roles/jitsi/files/prosody/modules/mod_features_identity.lua
2025-07-28 13:00:23 +02:00

9 lines
453 B
Lua

-- Other components can use the event 'jitsi-add-identity' to attach identity which
-- will be advertised by the main virtual host and discovered by clients.
-- With this we avoid having an almost empty module to just add identity with an extra config
module:hook('jitsi-add-identity', function(event)
module:log('info', 'Adding identity %s for host %s', event.name, event.host);
module:add_identity('component', event.name, event.host);
end);