spec/scansion/uptime.scs
author Kim Alvefur <zash@zash.se>
Sun, 17 Dec 2023 16:29:03 +0100
changeset 13409 c8f3cfe59e90
parent 10735 8e2f9d0fa72d
permissions -rw-r--r--
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

# 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