File

spec/scansion/disco_self.scs @ 13513:2fb79fe54390 0.12

core.moduleapi: Default labels to empty list to fix error if omitted In a host-scoped module in the `if is_scoped` clause the resulting `array:append(nil)` call throws.
author Kim Alvefur <zash@zash.se>
date Sun, 18 Aug 2024 16:58:30 +0200
parent 13408:d7857ef7843a
line wrap: on
line source

# Basic login and initial presence

[Client] Romeo
	jid: discoverer@localhost
	password: password

---------

Romeo connects

Romeo sends:
	<iq type="get" id="info1">
		<query xmlns="http://jabber.org/protocol/disco#info"/>
	</iq>

Romeo receives:
	<iq type="result" id="info1">
		<query xmlns="http://jabber.org/protocol/disco#info" scansion:strict="false">
			<identity xmlns="http://jabber.org/protocol/disco#info" category="account" type="registered"/>
			<feature var="http://jabber.org/protocol/disco#info"/>
			<feature var="http://jabber.org/protocol/disco#items"/>
		</query>
	</iq>

Romeo disconnects