[Bug 30657] New: Doesn't register handler for privacy list pushes early enough

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 6 16:10:21 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=30657

           Summary: Doesn't register handler for privacy list pushes early
                    enough
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: will.thompson at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


I was debugging an invisibility-related bug today. When connecting, Gabble
retrieves a list of privacy lists from the server, and if no suitable invisible
list exists, tries to create one. Only once it has successfully found or
created an invisible list does it register a handler for privacy list pushes.

I don't think this can cause any user-visible problems: there's no window
between it determining a list is valid and registering the handler in which a
push invalidating the list could be received.

But, if we create a privacy list during connection, we get a push for that
newly-created list... before we've registered the handler. So Gabble sends back
an IQ error, claiming it doesn't understand privacy lists... which seems wrong,
and made me panic.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list