diff options
author | Kim Alvefur <zash@zash.se> | 2020-11-30 23:42:13 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-11-30 23:42:13 +0100 |
commit | 8236720cdbd28a6d679d9a9311889425d222c979 (patch) | |
tree | dd0287ecd90f5259c46619b11862fb9f669e9ff2 /spec/scansion/mam_extended.scs | |
parent | 968fd6eb62bf2f9b3527fc4f2fa751dfb36c3bf5 (diff) | |
download | prosody-8236720cdbd28a6d679d9a9311889425d222c979.tar.gz prosody-8236720cdbd28a6d679d9a9311889425d222c979.zip |
mod_mam: Implement extended MAM metadata query
Diffstat (limited to 'spec/scansion/mam_extended.scs')
-rw-r--r-- | spec/scansion/mam_extended.scs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/scansion/mam_extended.scs b/spec/scansion/mam_extended.scs index 7e291510..a1c50ffc 100644 --- a/spec/scansion/mam_extended.scs +++ b/spec/scansion/mam_extended.scs @@ -36,6 +36,20 @@ Romeo sends: <body>U there?</body> </message> +# Metadata +Romeo sends: + <iq type="get" id="mamextmeta"> + <metadata xmlns="urn:xmpp:mam:2"/> + </iq> + +Romeo receives: + <iq type="result" id="mamextmeta"> + <metadata xmlns="urn:xmpp:mam:2"> + <start timestamp="2008-08-22T21:09:04Z" xmlns="urn:xmpp:mam:2" id="{scansion:any}"/> + <end timestamp="2008-08-22T21:09:04Z" xmlns="urn:xmpp:mam:2" id="{scansion:any}"/> + </metadata> + </iq> + Romeo sends: <iq type="set" id="mamquery1"> <query xmlns="urn:xmpp:mam:2" queryid="q1"/> |