# File jabber4r/protocol.rb, line 554 def Iq.gen_vcard(session, id, to) iq = Iq.new(session, id) iq.xmlns = "vcard-temp" iq.type = "get" iq.to = to return iq #return XMLElement.new("iq", {"type"=>"get", "id"=>id, "to"=>to}).add_child("query", {"xmlns"=>"vcard-temp"}).to_s end