From aacde054269a3adcd17b62b779415f8effe0a7ab Mon Sep 17 00:00:00 2001
From: Georg Lukas
Date: Wed, 1 Aug 2018 17:37:10 +0200
Subject: [PATCH] muc-selfping: Document nick change / 'item-not-found'
response, thx jonasw
---
inbox/muc-selfping.xml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/inbox/muc-selfping.xml b/inbox/muc-selfping.xml
index afb49504..7b2da711 100644
--- a/inbox/muc-selfping.xml
+++ b/inbox/muc-selfping.xml
@@ -141,6 +141,9 @@
Error (<service-unavailable> or
<feature-not-implemented>): the client is joined, but
the pinged client does not implement &xep0199;.
+ Error (<item-not-found>): the client is
+ joined, but the participant just changed their name (e.g. initiated by
+ a different client).
Any other error: the client is probably not
joined.
Timeout (no response): the MUC service (or another
@@ -161,6 +164,16 @@
opposed to routing it to any of the participant's clients.
+
+ In Multi-Session-Nick scenarios, where multiple clients of the same user
+ are joined as the same participant, it is possible that another client
+ initiates a nickname change while a ping request is pending. In that case,
+ the ping might be responded to with <item-not-found>.
+ A client should not perform a self-ping after initiating a nickname
+ change, and before receiving the response to the nickname change from the
+ service, as it is not yet clear whether the new nickname will be accepted.
+
+
A MUC service implementation should not allow a non-participant to obtain
information about participants. This is however true irregardless of