projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ac411fd
)
mod_disco: Fixed: Service discovery features were not being removed on module unload...
author
Waqas Hussain
<waqas20@gmail.com>
Sun, 28 Nov 2010 02:56:08 +0000
(07:56 +0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Sun, 28 Nov 2010 02:56:08 +0000
(07:56 +0500)
plugins/mod_disco.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_disco.lua
b/plugins/mod_disco.lua
index 907ca7531c6561af5e4128035a77a9f42edfd041..9bef62957ed955e8443b45ddb5dcbd4c3e6f9eb9 100644
(file)
--- a/
plugins/mod_disco.lua
+++ b/
plugins/mod_disco.lua
@@
-115,9
+115,7
@@
end);
-- Handle caps stream feature
module:hook("stream-features", function (event)
- if event.origin.type == "c2s" then
- event.features:add_child(get_server_caps_feature());
- end
+ event.features:add_child(get_server_caps_feature());
end);
-- Handle disco requests to user accounts