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:
87c9d43
)
mod_vcard: Removed stream feature.
author
Waqas Hussain
<waqas20@gmail.com>
Sun, 18 Oct 2009 02:33:24 +0000
(07:33 +0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Sun, 18 Oct 2009 02:33:24 +0000
(07:33 +0500)
plugins/mod_vcard.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_vcard.lua
b/plugins/mod_vcard.lua
index f1c95bbf73ebf34e66a29e819ca3e9906cb9987f..3291d1c7a0926ebd8c59fe3ffffaa3ea8e62b408 100644
(file)
--- a/
plugins/mod_vcard.lua
+++ b/
plugins/mod_vcard.lua
@@
-62,10
+62,3
@@
if module:get_option("vcard_compatibility") then
end
end, 1);
end
end
end, 1);
end
-
-local feature_vcard = st.stanza("feature", { var = xmlns_vcard });
-module:add_event_hook("stream-features", function(session, features)
- if session.type == "c2s" then
- features:add_child(feature_vcard);
- end
-end);