equal
deleted
inserted
replaced
141 for callback in connected_cb:items() do |
141 for callback in connected_cb:items() do |
142 callback(event) |
142 callback(event) |
143 end |
143 end |
144 end |
144 end |
145 |
145 |
146 connected_cb:add(on_component_connected) |
146 if module:get_host_type() ~= "component" then |
|
147 connected_cb:add(on_component_connected) |
|
148 end |
147 module:hook('component-authenticated', on_component_auth) |
149 module:hook('component-authenticated', on_component_auth) |
148 module:hook('presence/initial', on_presence) |
150 module:hook('presence/initial', on_presence) |
149 |
151 |
150 |
152 |
151 --> delegated namespaces hook <-- |
153 --> delegated namespaces hook <-- |