Enable MAM and PubSub
This commit is contained in:
parent
61c5eb5985
commit
251fa2147f
3 changed files with 6 additions and 4 deletions
|
|
@ -30,8 +30,8 @@ services:
|
|||
- ADMIN_EMAIL=${ADMIN_EMAIL}
|
||||
- DOMAIN_NAME=${DOMAIN_NAME}
|
||||
|
||||
- VIRTUAL_HOST=u.${DOMAIN_NAME}
|
||||
- LETSENCRYPT_HOST=u.${DOMAIN_NAME}
|
||||
- VIRTUAL_HOST=u.${DOMAIN_NAME},pubsub.${DOMAIN_NAME}
|
||||
- LETSENCRYPT_HOST=u.${DOMAIN_NAME},pubsub.${DOMAIN_NAME},${DOMAIN_NAME}
|
||||
env_file:
|
||||
- slidge.env
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ then
|
|||
message = "outgoing";
|
||||
iq = {
|
||||
["http://jabber.org/protocol/pubsub"] = "both";
|
||||
["http://jabber.org/protocol/pubsub#owner"] = "both";
|
||||
["http://jabber.org/protocol/pubsub#owner"] = "set";
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
@ -15,6 +15,7 @@ then
|
|||
{ "whatsapp", "Whatsapp gateway" };
|
||||
}
|
||||
Component ("u."..ENV_DOMAIN_NAME) "http_file_share"
|
||||
Component ("pubsub."..ENV_DOMAIN_NAME) "pubsub"
|
||||
Component "whatsapp"
|
||||
component_secret = ENV_SLIDGE_SECRET or ""
|
||||
modules_enabled = {"privilege"}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ modules_enabled = {
|
|||
"time"; -- Let others know the time here on this server
|
||||
"uptime"; -- Report how long server has been running
|
||||
"version"; -- Replies to server version requests
|
||||
--"mam"; -- Store recent messages to allow multi-device synchronization
|
||||
"mam"; -- Store recent messages to allow multi-device synchronization
|
||||
--"turn_external"; -- Provide external STUN/TURN service for e.g. audio/video calls
|
||||
|
||||
-- Admin interfaces
|
||||
|
|
@ -59,6 +59,7 @@ modules_enabled = {
|
|||
--"welcome"; -- Welcome users who register accounts
|
||||
"http_files";
|
||||
"privilege";
|
||||
"pubsub";
|
||||
}
|
||||
|
||||
-- modules_disabled = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue