File

spec/scansion/uptime.scs @ 13603:6e5124f72e9a

mod_admin_shell: Fix reporting origin module for commands The field `_provided_by` comes from module:provides(), but these items comes from moduel:add_item(), which include the originating module as a 'source' field of the event. However, this is absent when items are retrieved at a later time than the initial event.
author Kim Alvefur <zash@zash.se>
date Wed, 08 Jan 2025 08:11:02 +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