File

spec/scansion/uptime.scs @ 13424:0efb53a0852e

util.startup: Expose core.features.available as prosody.features for convenience.
author Matthew Wild <mwild1@gmail.com>
date Thu, 22 Feb 2024 09:53:02 +0000
parent 13405:c8f3cfe59e90
line wrap: on
line source

# 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