Commit7246333aRecorded20 Feb 2026Repositorysigil-xmpp

fix: Export internal connection accessors for feature modules

Message

Roster, presence, and MUC modules need access to event-handlers dict and iq-callbacks for caching state on the connection object.

Changed
 src/sigil/xmpp/connection.sgl | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Diff
src/sigil/xmpp/connection.sglmodified
@@ -53,7 +53,13 @@
53
xmpp-tick
54
55
;; Presence
56
xmpp-send-presence)
+56
xmpp-send-presence
+57
+58
;; Internal (for feature modules)
+59
xmpp-connection-event-handlers
+60
set-xmpp-connection-event-handlers!
+61
xmpp-connection-iq-callbacks
+62
set-xmpp-connection-iq-callbacks!)
63
64
(begin
65