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 | 9e5dbb42176d2d22bd69ffdc872df58a3a17c19f (patch) | |
tree | dd0287ecd90f5259c46619b11862fb9f669e9ff2 /spec/scansion/mam_extended.scs | |
parent | af189d81030a05c4bff49acdd6bd7d0770157c5f (diff) | |
download | prosody-9e5dbb42176d2d22bd69ffdc872df58a3a17c19f.tar.gz prosody-9e5dbb42176d2d22bd69ffdc872df58a3a17c19f.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"/> |