# File lib/jabber4r/protocol.rb, line 557 557: def Iq.gen_vcard(session, id, to) 558: iq = Iq.new(session, id) 559: iq.xmlns = "vcard-temp" 560: iq.type = "get" 561: iq.to = to 562: return iq 563: #return XMLElement.new("iq", {"type"=>"get", "id"=>id, "to"=>to}).add_child("query", {"xmlns"=>"vcard-temp"}).to_s 564: end