Merge with 0.5
[prosody.git] / plugins / mod_vcard.lua
index 2e8aea02b41f50f0ef58472140543c0ae971aeac..be856897424f024cec00e8949ce4e44bc64aed2e 100644 (file)
@@ -1,4 +1,4 @@
--- Prosody IM v0.4
+-- Prosody IM
 -- Copyright (C) 2008-2009 Matthew Wild
 -- Copyright (C) 2008-2009 Waqas Hussain
 -- 
@@ -19,7 +19,7 @@ local jid_split = jid.split;
 
 module:add_feature("vcard-temp");
 
-module:add_iq_handler({"c2s", "s2sin"}, "vcard-temp", 
+module:add_iq_handler({"c2s", "s2sin", "component"}, "vcard-temp", 
                function (session, stanza)
                        if stanza.tags[1].name == "vCard" then
                                local to = stanza.attr.to;