Initial commit
This commit is contained in:
commit
936153fa99
8 changed files with 220 additions and 0 deletions
21
images/prosody/config/conf.d/default.cfg.lua
Normal file
21
images/prosody/config/conf.d/default.cfg.lua
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue