Bug 20646

Summary: TpChannel: does not remove pending contacts when they move to members
Product: Telepathy Reporter: Simon McVittie <smcv>
Component: tp-glibAssignee: Simon McVittie <smcv>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Simon McVittie 2009-03-13 06:31:30 UTC
Channels' members set, local-pending set and remote-pending set are meant to be mutually exclusive, and the signalling assumes this.

However, when adding a member to one of the three sets, TpChannel does not correctly remove the member from both of the other sets. This mainly occurs in chatroom invitations and incoming calls (self-handle moves from local-pending to members on local acceptance), and in outgoing calls (peer handle moves from remote-pending to members on remote acceptance).

The fix is trivial; regression tests for it will be implemented as part of the tests for my StreamedMedia example.
Comment 1 Simon McVittie 2009-03-17 14:53:03 UTC
Fixed in 0.7.27

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.