Software /
code /
prosody
File
spec/scansion/mam_prefs_prep.scs @ 12045:a6c821720cb6
mod_smacks: Back out 48f8fa6cea7b - back in a86ae74da96c again
Maybe it works now with the session patching in the previous commit
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 13 Dec 2021 21:48:29 +0100 |
parent | 11727:f3aee8a825cc |
line wrap: on
line source
# mod_mam should apply JIDprep in prefs [Client] Romeo jid: romeo@localhost password: password ----- Romeo connects Romeo sends: <iq id="lx2" type="set"> <prefs xmlns="urn:xmpp:mam:2" default="roster"> <always> <jid>JULIET@MONTAGUE.LIT</jid> </always> <never> <jid>MONTAGUE@MONTAGUE.LIT</jid> </never> </prefs> </iq> Romeo receives: <iq id="lx2" type="result"> <prefs xmlns="urn:xmpp:mam:2" default="roster"> <always> <jid>juliet@montague.lit</jid> </always> <never> <jid>montague@montague.lit</jid> </never> </prefs> </iq> Romeo disconnects