prosody-modules/mod_mix/anon.lib.lua
Alexander PapaTutuWawa fd9735faba mod_mix: Various changes
- Refactor and clean code
- Implement lots of MIX-ADMIN
- Beginning of MIX-ANON
2021-02-28 11:29:21 +01:00

15 lines
457 B
Lua

local dataforms = require("util.dataforms");
local namespaces = module:require("mix/namespaces");
local mix_anon_form = dataforms.new({
{ name = "FORM_TYPE", type = "hidden", value = namespaces.anon },
{ name = "JID Visibility", type = "text-single" },
{ name = "Private Messages", type = "text-single" },
{ name = "Presence", type = "text-single" },
{ name = "vCard", type = "text-single" },
});
return {
form = mix_anon_form;
};