Re-port all source patches onto 0.12.6; three are gone entirely: moduleapi (the two vnc_muc_fcm modules call core.storagemanager directly now), mod_admin_telnet and portmanager (replaced by console_interfaces/http_interfaces config). The muc.lib fork keeps its four functional changes including the externally consumed muc-config-sub-mitted event; the operator-precedence hunk was fixed upstream. mod_muc_mam shrinks to keep-archive-on-room-destroy since muc_log_expires_after="never" disables cleanup upstream in 0.12. Delete the bundled mod_smacks fork and the no-op mod_smacks_offline; core 0.12 smacks supersedes them (options audited, dead smacks_max_old corrected to smacks_max_old_sessions). Config/startup: drop legacyauth, run_as_root, daemonize; bosh_ports -> http_ports; cross_domain_* -> http_cors_override; randomize component_secret at startup (env-overridable); export log_slow_events_threshold fallback (latent render bug). Found while smoke-testing: pin --idn-library=idn (0.12's ICU default segfaults without ICU data in the image); http became a private service in 0.12 so 5280 needs http_interfaces to stay public; the telnet console now depends on mod_admin_socket, whose socket moves to /var/log/prosody. Verified: prosodyctl check config clean; boots against Postgres with empty error log and same port bindings as 0.11; healthcheck green; telnet console and SQL storage round-trip; 0.11->0.12 schema upgrade rehearsed on a 0.11-created database with data intact. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Part-of: <http://gitlab.vnc.biz/uxf/vnctalk-prosody/-/merge_requests/3>
11 lines
459 B
Diff
11 lines
459 B
Diff
--- a/plugins/mod_carbons.lua
|
|
+++ b/plugins/mod_carbons.lua
|
|
@@ -161,6 +161,7 @@
|
|
module:hook("pre-message/host", c2s_message_handler, -0.5);
|
|
module:hook("pre-message/bare", c2s_message_handler, -0.5);
|
|
module:hook("pre-message/full", c2s_message_handler, -0.5);
|
|
+module:hook("vnc-rest-message", c2s_message_handler, -0.5);
|
|
-- Stanzas to local clients
|
|
module:hook("message/bare", message_handler, -0.5);
|
|
module:hook("message/full", message_handler, -0.5);
|