You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mod_unified_push/README.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@
4
4
- Copyright (C) 2025 itd
5
5
6
6
This module adds Unified Push support compatible with Conversations.
7
+
When the module is enabled, the server can be added as a Unified Push distributor
8
+
in the settings of Conversations, using the same domain used for the JID.
7
9
8
10
ejabberd newer than 25.04 is required,
9
11
as it requires an updated version of the
@@ -12,23 +14,31 @@ that includes the improvements from the file `xmpp_spec.patch`.
12
14
Or you can
13
15
[apply the patch yourself](https://github.com/processone/xmpp/issues/9#issue-205855303)
14
16
17
+
15
18
## Configuration
16
19
17
-
To use this module, load `mod_unified_push` in the `modules` section of the config file and add `/up: mod_unified_push` to a listen directive:
20
+
When you install this module, it's enabled by default on port 5283, see `conf/mod_unified_push.yml`
21
+
22
+
If you want to customize that configuration,
23
+
remove all lines in the file `mod_unified_push.yml` (don't remove the file itself),
24
+
and now you can configure the module in your main `ejabberd.yml` configuration file,
25
+
for example:
18
26
19
27
```
28
+
listen:
20
29
-
21
30
port: 5443
22
31
ip: "::"
23
32
module: ejabberd_http
24
33
tls: true
25
-
protocol_options: 'TLS_OPTIONS'
26
34
request_handlers:
27
35
/api: mod_http_api
28
36
/bosh: mod_bosh
37
+
/up: mod_unified_push
29
38
/upload: mod_http_upload
30
39
/ws: ejabberd_http_ws
31
-
/up: mod_unified_push
32
-
```
33
40
34
-
Once the config has been reloaded, the server can be added as a Unified Push distributor in the settings of Conversations, using the same domain used for the JID.
0 commit comments