Przeglądaj źródła

[Prosody] Deprecated mod_privacy in favor of blocklist

Configuration file needs to belong to prosody user
Óscar Nájera 6 lat temu
rodzic
commit
f4402f9916

+ 1
- 1
roles/xmpp/tasks/prosody.yml Wyświetl plik

@@ -26,7 +26,7 @@
26 26
   file: state=directory path=/decrypted/prosody owner=prosody group=prosody
27 27
 
28 28
 - name: Configure Prosody
29
-  template: src=prosody.cfg.lua.j2 dest=/etc/prosody/prosody.cfg.lua group=root owner=root
29
+  template: src=prosody.cfg.lua.j2 dest=/etc/prosody/prosody.cfg.lua group=prosody owner=prosody
30 30
   notify: restart prosody
31 31
 
32 32
 - name: Create Prosody accounts

+ 1
- 1
roles/xmpp/templates/prosody.cfg.lua.j2 Wyświetl plik

@@ -43,7 +43,7 @@ modules_enabled = {
43 43
 		"vcard"; -- Allow users to set vCards
44 44
 
45 45
 	-- These are commented by default as they have a performance impact
46
-		"privacy"; -- Support privacy lists
46
+                "blocklist"; -- Support blocking users
47 47
 		--"compression"; -- Stream compression (requires the lua-zlib package installed)
48 48
 
49 49
 	-- Nice to have

Ładowanie…
Anuluj
Zapisz