[telepathy-gabble/master] Compile, and actually set ImmutableStreams property
Will Thompson
will.thompson at collabora.co.uk
Mon Oct 19 07:29:51 PDT 2009
7956fc5 broke the build (sorry!) and didn't actually assign to 'flags'
so the ImmutableStreams channel property was always false (although the
capability works).
---
src/media-channel.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/media-channel.c b/src/media-channel.c
index 10ba23e..ab725c9 100644
--- a/src/media-channel.c
+++ b/src/media-channel.c
@@ -434,7 +434,8 @@ gabble_media_channel_constructor (GType type, guint n_props,
TpChannelMediaCapabilities flags = 0;
if (presence != NULL)
- _gabble_media_channel_caps_to_typeflags (presence->caps);
+ flags = _gabble_media_factory_caps_to_typeflags (
+ gabble_presence_peek_caps (presence));
if (flags & TP_CHANNEL_MEDIA_CAPABILITY_IMMUTABLE_STREAMS)
priv->immutable_streams = TRUE;
--
1.5.6.5
More information about the telepathy-commits
mailing list