Software / code / prosody-modules
Comparison
mod_conversejs/mod_conversejs.lua @ 6245:ea58d2893afb
Merge update
| author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
|---|---|
| date | Tue, 29 Apr 2025 23:27:06 +0700 |
| parent | 6241:303fcfe3a7e8 |
| child | 6310:30adcea825c3 |
comparison
equal
deleted
inserted
replaced
| 6232:d72010642b31 | 6245:ea58d2893afb |
|---|---|
| 108 return converse_options; | 108 return converse_options; |
| 109 end | 109 end |
| 110 | 110 |
| 111 local add_tags = module:get_option_array("conversejs_tags", {}); | 111 local add_tags = module:get_option_array("conversejs_tags", {}); |
| 112 | 112 |
| 113 local service_name = module:get_option_string("name", "Prosody IM and Converse.js"); | 113 local service_name = module:get_option_string("conversejs_name", module:get_option_string("name", "Prosody IM and Converse.js")); |
| 114 local service_short_name = module:get_option_string("short_name", "Converse"); | 114 local service_short_name = module:get_option_string("conversejs_short_name", "Converse"); |
| 115 local service_description = module:get_option_string("description", "Messaging Freedom") | 115 local service_description = module:get_option_string("conversejs_description", "Messaging Freedom") |
| 116 local pwa_color = module:get_option_string("pwa_color", "#397491") | 116 local pwa_color = module:get_option_string("conversejs_pwa_color", "#397491") |
| 117 | 117 |
| 118 module:provides("http", { | 118 module:provides("http", { |
| 119 title = "Converse.js"; | 119 title = "Converse.js"; |
| 120 route = { | 120 route = { |
| 121 ["GET /"] = function (event) | 121 ["GET /"] = function (event) |