Bug 20646 - TpChannel: does not remove pending contacts when they move to members
Summary: TpChannel: does not remove pending contacts when they move to members
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-glib (show other bugs)
Version: unspecified
Hardware: Other All
: medium major
Assignee: Simon McVittie
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-13 06:31 UTC by Simon McVittie
Modified: 2009-03-17 14:53 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.