prosody/spec/scansion/uptime.scs
Kim Alvefur 30f791386b scansion: Use captures or wildcards instead of mocking time
> Mockery is one of the things I hold dear! And he's making a mockery of it!!
-- Belkar Bitterleaf
2023-12-17 16:29:03 +01:00

21 lines
360 B
Text

# XEP-0012: Last Activity / mod_uptime
[Client] Romeo
jid: romeo@localhost
password: password
-----
Romeo connects
Romeo sends:
<iq id='a' type='get' to='localhost'>
<query xmlns='jabber:iq:last'/>
</iq>
Romeo receives:
<iq type='result' id='a' from='localhost'>
<query xmlns='jabber:iq:last' seconds='{scansion:any}'/>
</iq>
Romeo disconnects