Merge pull request #83 from snikket-im/auto-enable-group-push

prosody: Enable push notifications for offline group members by default
This commit is contained in:
Matthew Wild 2021-11-16 19:21:20 +00:00 committed by GitHub
commit 6ab178385f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -250,6 +250,7 @@ Component ("groups."..DOMAIN) "muc"
"muc_defaults";
"muc_offline_delivery";
"snikket_restricted_users";
"muc_auto_reserve_nicks";
}
restrict_room_creation = "local"
muc_local_only = { "general@groups."..DOMAIN }
@ -259,6 +260,10 @@ Component ("groups."..DOMAIN) "muc"
muc_room_default_persistent = true
muc_room_default_public = false
-- Enable push notifications for offline group members by default
-- (this also requires mod_muc_auto_reserve_nicks in practice)
muc_offline_delivery_default = true
default_mucs = {
{
jid_node = "general";

View File

@ -7,9 +7,9 @@
vars:
prosody:
package: "prosody-trunk"
build: "1540"
build: "1544"
prosody_modules:
revision: "8bd36bba2292"
revision: "eb63890ae8fc"
tasks:
- import_tasks: tasks/prosody.yml
- import_tasks: tasks/supervisor.yml

View File

@ -124,6 +124,7 @@
- mod_spam_reporting
- mod_watch_spam_reports
- mod_isolate_host
- mod_muc_auto_reserve_nicks
- name: Enable wanted modules (snikket-modules)
file: