aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_vcard.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_vcard.lua b/plugins/mod_vcard.lua
index 8b76dea7..356b9836 100644
--- a/plugins/mod_vcard.lua
+++ b/plugins/mod_vcard.lua
@@ -48,7 +48,7 @@ add_iq_handler("c2s", "vcard-temp",
add_event_hook("stream-features",
function (session, features)
- if session.full_jid then
+ if session.type == "c2s" then
t_insert(features, "<feature var='vcard-temp'/>");
end
end);