234 print("VERSION:3.0"); |
234 print("VERSION:3.0"); |
235 for i = 1,#vCard do |
235 for i = 1,#vCard do |
236 local item = vCard[i]; |
236 local item = vCard[i]; |
237 if item.name then |
237 if item.name then |
238 local s = vCard_prop(item); |
238 local s = vCard_prop(item); |
239 if s then print(s); end |
239 if s then |
240 else |
240 print(s); |
241 conn:debug("Unhandled vCard field: %s", item.name); |
241 else |
|
242 conn:debug("Unhandled vCard field: %s", item.name); |
|
243 end |
242 end |
244 end |
243 end |
245 end |
244 print("END:VCARD"); |
246 print("END:VCARD"); |
245 end |
247 end |
246 verse.quit(); |
248 verse.quit(); |