Software /
code /
prosody
Changeset
2003:b7429073f73f
mod_vcard: Removed stream feature.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 18 Oct 2009 07:33:24 +0500 |
parents | 2002:fa71261d8a15 |
children | 2004:5033348feba8 |
files | plugins/mod_vcard.lua |
diffstat | 1 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_vcard.lua Sun Oct 18 07:30:58 2009 +0500 +++ b/plugins/mod_vcard.lua Sun Oct 18 07:33:24 2009 +0500 @@ -62,10 +62,3 @@ 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);