Comparison

spec/scansion/mam_extended.scs @ 11270:eaaa8ca742a7

mod_mam: Implement extended MAM metadata query
author Kim Alvefur <zash@zash.se>
date Mon, 30 Nov 2020 23:42:13 +0100
parent 11269:342ac5d806fb
child 11284:56ceb6c1bc50
comparison
equal deleted inserted replaced
11269:342ac5d806fb 11270:eaaa8ca742a7
33 33
34 Romeo sends: 34 Romeo sends:
35 <message to="someone@localhost" type="chat" id="chat02"> 35 <message to="someone@localhost" type="chat" id="chat02">
36 <body>U there?</body> 36 <body>U there?</body>
37 </message> 37 </message>
38
39 # Metadata
40 Romeo sends:
41 <iq type="get" id="mamextmeta">
42 <metadata xmlns="urn:xmpp:mam:2"/>
43 </iq>
44
45 Romeo receives:
46 <iq type="result" id="mamextmeta">
47 <metadata xmlns="urn:xmpp:mam:2">
48 <start timestamp="2008-08-22T21:09:04Z" xmlns="urn:xmpp:mam:2" id="{scansion:any}"/>
49 <end timestamp="2008-08-22T21:09:04Z" xmlns="urn:xmpp:mam:2" id="{scansion:any}"/>
50 </metadata>
51 </iq>
38 52
39 Romeo sends: 53 Romeo sends:
40 <iq type="set" id="mamquery1"> 54 <iq type="set" id="mamquery1">
41 <query xmlns="urn:xmpp:mam:2" queryid="q1"/> 55 <query xmlns="urn:xmpp:mam:2" queryid="q1"/>
42 </iq> 56 </iq>