Initial commit

This commit is contained in:
Oliver Hattshire 2025-10-20 09:09:50 -03:00
commit 936153fa99
8 changed files with 220 additions and 0 deletions

View file

@ -0,0 +1,21 @@
if(ENV_DOMAIN_NAME)
then
VirtualHost (ENV_DOMAIN_NAME)
privileged_entities = {
["whatsapp"] = {
roster = "both";
message = "outgoing";
iq = {
["http://jabber.org/protocol/pubsub"] = "both";
["http://jabber.org/protocol/pubsub#owner"] = "both";
};
}
}
disco_items = {
{ "whatsapp", "Whatsapp gateway" };
}
Component ("u."..ENV_DOMAIN_NAME, "http_file_share")
Component "whatsapp"
component_secret = ENV_SLIDGE_SECRET or ""
modules_enabled = {"privilege"}
end