equal
deleted
inserted
replaced
146 return true; |
146 return true; |
147 end); |
147 end); |
148 |
148 |
149 -- Handle caps stream feature |
149 -- Handle caps stream feature |
150 module:hook("stream-features", function (event) |
150 module:hook("stream-features", function (event) |
151 if event.origin.type == "c2s" then |
151 if event.origin.type == "c2s" or event.origin.type == "c2s_unauthed" then |
152 event.features:add_child(get_server_caps_feature()); |
152 event.features:add_child(get_server_caps_feature()); |
153 end |
153 end |
154 end); |
154 end); |
155 |
155 |
156 -- Handle disco requests to user accounts |
156 -- Handle disco requests to user accounts |