Software /
code /
verse
Comparison
plugins/vcard.lua @ 497:eb86e3751978
util.vcard: Move into verse namespace since it's removed from Prosody
See Prosody rev 79431e0282a9
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 23 Jun 2023 10:12:38 +0200 |
parent | 490:6b2f31da9610 |
comparison
equal
deleted
inserted
replaced
496:c4ae7aa2958a | 497:eb86e3751978 |
---|---|
1 local verse = require "verse"; | 1 local verse = require "verse"; |
2 local vcard = require "prosody.util.vcard"; | 2 local vcard = require "verse.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 |