Bug 34566

Summary: Becoming invisible makes you part all your MUCs
Product: Telepathy Reporter: Will Thompson <will>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: NEW --- QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
i915 platform: i915 features:

Description Will Thompson 2011-02-22 05:16:49 UTC
Joining and leaving MUCs is based on your presence. So I shouldn't have been surprised that becoming invisible made me leave all the MUCs I was in; but I was. I imagine a normal person would be even more surprised.

We could try to be smarter about the privacy list we use, adding action='allow' rules for presence-out for the MUCs we're in, modifying it when we join/leave MUCs. (XEP-0126 makes no mention of MUCs whatsoever.)

In XEP-0186, it's slightly up to the server… The XEP says that “When the client enters invisible mode in the midst of a presence session (i.e., after having previously sent undirected presence with no 'type' attribute), the server MUST send <presence type='unavailable'/> presence from the specified resource to all contacts who would receive unavailable presence if the client sent <presence type='unavailable'/>.”, which presumably includes MUCs. But it also says that, while invisible, the server “MUST deliver directed presence stanzas generated by the client.” which allows the user to *join* MUCs while invisible. (Again, no explicit mention of MUCs is made.)
Comment 1 Will Thompson 2011-02-22 06:38:04 UTC
I posted <http://mail.jabber.org/pipermail/jdev/2011-February/088648.html> about this.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.