File

spec/scansion/uptime.scs @ 13624:de902cc0d46c

util.bitcompat: Avoid potential noise from global metatable If this module is require'd from a plugin on a Lua version without the global bit32 library, it may trip a warning about accessing globals.
author Kim Alvefur <zash@zash.se>
date Wed, 15 Jan 2025 09:55:28 +0100
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