aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion/mam_extended.scs
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-11-30 23:42:13 +0100
committerKim Alvefur <zash@zash.se>2020-11-30 23:42:13 +0100
commit9e5dbb42176d2d22bd69ffdc872df58a3a17c19f (patch)
treedd0287ecd90f5259c46619b11862fb9f669e9ff2 /spec/scansion/mam_extended.scs
parentaf189d81030a05c4bff49acdd6bd7d0770157c5f (diff)
downloadprosody-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.scs14
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"/>