prosody-modules/mod_mix/anon.lib.lua

15 lines
457 B
Lua
Raw Normal View History

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;
};