Bug 20763 - Self and peer creating jingle contents sharing a name might confuse gabble.
Summary: Self and peer creating jingle contents sharing a name might confuse gabble.
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL: http://git.collabora.co.uk/?p=user/wj...
Whiteboard:
Keywords: patch
Depends on: 22209
Blocks: 22237
  Show dependency treegraph
 
Reported: 2009-03-20 03:11 UTC by Will Thompson
Modified: 2009-06-17 04:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Will Thompson 2009-03-20 03:11:11 UTC
I suspect Gabble will get confused if it creates a content called 'stream3' and the peer does the same at the same time. It uses a single hash from content name to contents.

create_content() contains:
  /* This will override existing content if it exists. */
  g_hash_table_replace (priv->contents, g_strdup (name), c);

The overriding is not signalled to the peer. This seems wrong to me.
Comment 1 Will Thompson 2009-06-11 10:34:20 UTC
My branch 'namespace-contents-by-creator' should fix this, but I'd like to do some real-world testing before it's merged.
Comment 2 Sjoerd Simons 2009-06-16 05:36:18 UTC
+2
Comment 3 Will Thompson 2009-06-17 04:35:51 UTC
Merged, will be in telepathy-gabble 0.7.29.


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.