From e2031ae53fd91898b5a8715261b5df2b50ec9455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Wed, 28 Oct 2020 17:21:45 +0100 Subject: [PATCH] XEP-0045: specify use of in subject message --- xep-0045.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/xep-0045.xml b/xep-0045.xml index 5506e664..f80f0d45 100644 --- a/xep-0045.xml +++ b/xep-0045.xml @@ -45,6 +45,12 @@ &stpeter; + + 1.34.0 + 2020-10-28 + jsc +

Specify the use of a delay element in the initial subject message.

+
1.33.0 2020-04-15 @@ -1841,7 +1847,7 @@ -

After the room has optionally sent the discussion history to the new occupant, it SHALL send the current room subject. This is a &MESSAGE; stanza from the room JID (or from the occupant JID of the entity that set the subject), with a &SUBJECT; element but no &BODY; element, as shown in the following example.

+

After the room has optionally sent the discussion history to the new occupant, it SHALL send the current room subject. This is a &MESSAGE; stanza from the room JID (or from the occupant JID of the entity that set the subject), with a &SUBJECT; element but no &BODY; element, as shown in the following example. In addition, the subject SHOULD be stamped with &xep0203; information qualified by the 'urn:xmpp:delay' namespace to indicate the time at which the subject was last modified. If the <delay/> element is included, its 'from' attribute MUST be set to the JID of the room itself.

Fire Burn and Cauldron Bubble! + ]]> -

If there is no subject set, the room MUST return an empty &SUBJECT; element.

+

Interoperability Note: The <delay/> element has been specified in version 1.34.0 of this document. Hence, consuming entities need to be able to deal with servers which do not send a <delay/> element. Most notably, this means that the presence of the <delay/> element cannot be used to distinguish a historic vs. a live subject change.

+

If there is no subject set, the room MUST return an empty &SUBJECT; element. The <delay/> SHOULD be included if the subject was actively cleared and MAY be omitted if the room never had a subject set.