Software /
code /
verse
Comparison
plugins/disco.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 | 475:68a4fb45afbc |
comparison
equal
deleted
inserted
replaced
489:39ed19f12dca | 490:6b2f31da9610 |
---|---|
6 -- COPYING file in the source package for more information. | 6 -- COPYING file in the source package for more information. |
7 -- | 7 -- |
8 | 8 |
9 local verse = require "verse"; | 9 local verse = require "verse"; |
10 local b64 = require("mime").b64; | 10 local b64 = require("mime").b64; |
11 local sha1 = require("util.hashes").sha1; | 11 local sha1 = require("prosody.util.hashes").sha1; |
12 local calculate_hash = require "util.caps".calculate_hash; | 12 local calculate_hash = require "prosody.util.caps".calculate_hash; |
13 | 13 |
14 local xmlns_caps = "http://jabber.org/protocol/caps"; | 14 local xmlns_caps = "http://jabber.org/protocol/caps"; |
15 local xmlns_disco = "http://jabber.org/protocol/disco"; | 15 local xmlns_disco = "http://jabber.org/protocol/disco"; |
16 local xmlns_disco_info = xmlns_disco.."#info"; | 16 local xmlns_disco_info = xmlns_disco.."#info"; |
17 local xmlns_disco_items = xmlns_disco.."#items"; | 17 local xmlns_disco_items = xmlns_disco.."#items"; |