Software /
code /
verse
Comparison
plugins/vcard.lua @ 490:6b2f31da9610
Update for new Prosody module namespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 20 May 2023 20:48:03 +0200 |
parent | 395:e86144a4eaa1 |
child | 497:eb86e3751978 |
comparison
equal
deleted
inserted
replaced
489:39ed19f12dca | 490:6b2f31da9610 |
---|---|
1 local verse = require "verse"; | 1 local verse = require "verse"; |
2 local vcard = require "util.vcard"; | 2 local vcard = require "prosody.util.vcard"; |
3 | 3 |
4 local xmlns_vcard = "vcard-temp"; | 4 local xmlns_vcard = "vcard-temp"; |
5 | 5 |
6 function verse.plugins.vcard(stream) | 6 function verse.plugins.vcard(stream) |
7 function stream:get_vcard(jid, callback) --jid = nil for self | 7 function stream:get_vcard(jid, callback) --jid = nil for self |