I am developing a chat application and for that i was reading XMPP XEP-0016 for privacy settings. I am very confused between default list and active list. Which type of list should i use for privacy settings? I don't want to waste much time on this. Help me to get out of this.
A XEP of any type is in the Experimental state after it has been accepted by the XMPP Council and published by the XMPP Standards Foundation but before it has advanced within the standards process to a state of Active or Stable.
The Extensible Messaging and Presence Protocol (XMPP) is an application profile of the Extensible Markup Language (XML) that enables the near-real-time exchange of structured yet extensible data between any two or more network entities.
Well, it's not that obvious defined in XEP-0016, but there a few hints about the different semantics. For example XEP-16 Section 2 states that the extension is able to
Setting, changing, or declining the default list (i.e., the list that is active by default).
Further in 2.2 we find
The default list applies to the user as a whole, and is processed if there is no active list set for the target session/resource to which a stanza is addressed, or if there are no current sessions for the user.
To sum up: The default list is used as default, hence the name, if no other list is specified by the client when enabling privacy lists. The active list is the list currently enforced by the server and applied to the session.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With