From 67a3bf56f3d74c27bc49918e5b4ed5a891ed5b92 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 23 Dec 2018 15:22:49 +0100 Subject: mod_mam: Add test for JID normalization in prefs (see #1275) --- spec/scansion/mam_prefs_prep.scs | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 spec/scansion/mam_prefs_prep.scs (limited to 'spec/scansion/mam_prefs_prep.scs') diff --git a/spec/scansion/mam_prefs_prep.scs b/spec/scansion/mam_prefs_prep.scs new file mode 100644 index 00000000..9589ec65 --- /dev/null +++ b/spec/scansion/mam_prefs_prep.scs @@ -0,0 +1,36 @@ +# mod_mam shold apply JIDprep in prefs + +[Client] Romeo + jid: romeo@localhost + password: password + +----- + +Romeo connects + +Romeo sends: + + + + JULIET@MONTAGUE.LIT + + + MONTAGUE@MONTAGUE.LIT + + + + +Romeo receives: + + + + juliet@montague.lit + + + montague@montague.lit + + + + +Romeo disconnects + -- cgit v1.2.3