From 22dbb78a4026de5b6a426ded30b39c20e975b826 Mon Sep 17 00:00:00 2001 From: Jonas Wielicki Date: Mon, 18 Dec 2017 17:44:44 +0100 Subject: [PATCH] XEP-0045: Specify 333 status code --- xep-0045.xml | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/xep-0045.xml b/xep-0045.xml index 86a4f1f3..685aa2e5 100644 --- a/xep-0045.xml +++ b/xep-0045.xml @@ -45,6 +45,14 @@ &stpeter; + + 1.30 + 2017-12-18 + jwi + +

Add 333 status code with OPTIONAL feature.

+
+
1.29 2017-09-01 @@ -4870,6 +4878,39 @@ + + +

A MUC service MAY support adding the 333 status code to presences when a user gets removed by the service due to a technical problem (e.g. s2s link failure).

+

If a MUC service supports this OPTIONAL feature, it MUST include the 333 status code in the resulting presence:

+ + + + + + + + +]]> +

The status code MUST also be included in presences sent to other occupants:

+ + + + + + + +]]> +
+
+

Multi-User Chat uses a <status/> element (specifically, the 'code' attribute of the <status/> element) to communicate information about a user's status in a room. Over time, the number of status codes has grown quite large, and new status codes continue to be requested of the author. Therefore, these codes are now documented in a registry maintained by the XMPP Registrar. For details, refer to the Status Codes Registry section of this document.

Note: In general, MUC status codes tend to follow the "philosophy" of status codes that is implicit in &rfc2616; and &rfc1893; (1xx codes are informational, 2xx codes specify that it is fine to continue, 3xx codes specify redirects such as being kicked or banned, x3x codes refer to system status, x7x codes refer to security or policy matters, etc.).

@@ -5439,6 +5480,15 @@ because the MUC service is being shut down + + 333 + presence + Removal from room + + Inform users that a user was removed because of an error reply (for example + when an s2s link fails between the MUC and the removed users server). + + ]]>