Software /
code /
verse
Comparison
plugins/time.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 | 480:a48a4723aa2a |
comparison
equal
deleted
inserted
replaced
489:39ed19f12dca | 490:6b2f31da9610 |
---|---|
1 local verse = require "verse"; | 1 local verse = require "verse"; |
2 local dt = require "util.datetime"; | 2 local dt = require "prosody.util.datetime"; |
3 | 3 |
4 local xmlns_time = "urn:xmpp:time"; | 4 local xmlns_time = "urn:xmpp:time"; |
5 | 5 |
6 function verse.plugins.time(stream) | 6 function verse.plugins.time(stream) |
7 function stream:query_time(target_jid, callback) | 7 function stream:query_time(target_jid, callback) |