Software /
code /
prosody-modules
Comparison
mod_unified_push/README.md @ 6073:045d557fc8c9
mod_unified_push: fix Compability sextion and improve Layout
author | Menel <menel@snikket.de> |
---|---|
date | Sat, 07 Dec 2024 22:29:20 +0100 |
parent | 5157:9032143bad08 |
child | 6080:9ab0d1c75c26 |
comparison
equal
deleted
inserted
replaced
6072:c88d01599948 | 6073:045d557fc8c9 |
---|---|
76 | 76 |
77 This module exposes a HTTP endpoint (to receive push notifications from app | 77 This module exposes a HTTP endpoint (to receive push notifications from app |
78 servers). For more information on configuring HTTP services in Prosody, see | 78 servers). For more information on configuring HTTP services in Prosody, see |
79 [Prosody HTTP documentation](https://prosody.im/doc/http). | 79 [Prosody HTTP documentation](https://prosody.im/doc/http). |
80 | 80 |
81 #### Example configuration | 81 ### Example configuration |
82 | 82 |
83 ##### Normal method | 83 #### Normal method |
84 | 84 |
85 Just add just add `"unified_push"` to your `modules_enabled` option. | 85 Just add just add `"unified_push"` to your `modules_enabled` option. |
86 This is the easiest and **recommended** configuration. | 86 This is the easiest and **recommended** configuration. |
87 | 87 |
88 ``` {.lua} | 88 ``` {.lua} |
91 "unified_push"; | 91 "unified_push"; |
92 --- | 92 --- |
93 } | 93 } |
94 ``` | 94 ``` |
95 | 95 |
96 ##### Component method | 96 #### Component method |
97 | 97 |
98 This is an example of how to configure the module as an internal component, | 98 This is an example of how to configure the module as an internal component, |
99 e.g. on a subdomain or other non-user domain. | 99 e.g. on a subdomain or other non-user domain. |
100 | 100 |
101 This example creates a push notification component called | 101 This example creates a push notification component called |
111 http_host = "example.com" | 111 http_host = "example.com" |
112 ``` | 112 ``` |
113 | 113 |
114 ## Compatibility | 114 ## Compatibility |
115 | 115 |
116 | trunk | Works | | 116 Prosody-Version Status |
117 | 0.12 | Works | | 117 --------------- -------------------- |
118 trunk Works as of 07.12.22 | |
119 0.12 Works | |
120 --------------- -------------------- |