aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2023-03-19 00:43:11 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2023-03-19 00:43:11 +0300
commit42ed16bf9e9d72bf226045f1f291b9d58e2a6200 (patch)
treee01b63ea0f49afdab1e8463cd1b10138f5db7816 /README.md
parent90807b2d9e0565629a913d3b28b09c5fc9d746e6 (diff)
Simulate carbons
Diffstat (limited to 'README.md')
-rw-r--r--README.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0ea9f73..36aa7ca 100644
--- a/README.md
+++ b/README.md
@@ -142,3 +142,34 @@ server {
```
Finally, update `:upload:` in your config.yml to match `server_name` in nginx config.
+
+### Carbons ###
+
+Telegabber needs special privileges according to XEP-0356 to simulate message carbons from the users (to display messages they have sent earlier or via other clients). Example configuration for Prosody:
+
+```
+modules_enabled = {
+ [...]
+
+ "privilege";
+}
+
+[...]
+
+Component "telegabber.yourdomain.tld"
+ component_secret = "yourpassword"
+ modules_enabled = {"privilege"}
+
+[...]
+
+VirtualHost "yourdomain.tld"
+ [...]
+
+ privileged_entities = {
+ [...]
+
+ ["telegabber.yourdomain.tld"] = {
+ message = "outgoing";
+ },
+ }
+```