| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-09-28 15:26:59 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-09-28 15:29:56 UTC |
| parent | 2e4f56f866df0c47132955ea77fe1f174833ff41 |
| borogove/Client.hx | +6 | -0 |
diff --git a/borogove/Client.hx b/borogove/Client.hx index 26c7362..f347ef2 100644 --- a/borogove/Client.hx +++ b/borogove/Client.hx @@ -1162,6 +1162,12 @@ class Client extends EventEmitter { .tag("enable", { xmlns: "urn:xmpp:carbons:2" }) .up() ); + // Enable MAM archiving + sendStanza( + new Stanza("iq", { type: "set", id: ID.unique() }) + .tag("prefs", { xmlns: "urn:xmpp:mam:2", "default": "always" }) + .up() + ); sendPresence(); joinAllChannels(); }