Alexander PapaTutuWawa
fd9735faba
- Refactor and clean code - Implement lots of MIX-ADMIN - Beginning of MIX-ANON
15 lines
457 B
Lua
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;
|
|
};
|