On 07/11/2012 12:15 PM, Peter Saint-Andre wrote:
On 7/7/12 1:37 PM, Andrew Biggs wrote:
Hi there,
I was wondering if someone might be able to tell me how a server should
respond to the following case:
(0) Start with no active connections for [email protected].
(1) A client connects as [email protected]/a.
(2) Via [email protected]/a, client declines the default privacy list, as in
example 20 of XEP-0016.
(3) A second client connects, as [email protected]/b.
(4) Via [email protected]/a, client creates a privacy list, and attempts to
set it as the default, as in example 18.
Question: should step (4) result in a<conflict/>?
I think so, because it is consistent with business rule #11:
"When a resource attempts to remove a list or specify a new default list
while that list applies to a connected resource other than the sending
resource, the server MUST return a<conflict/> error to the sending
resource and MUST NOT make the requested change."
Cool, that makes sense to me. Thanks!