[telepathy-gabble/master] _gabble_media_factory_typeflags_to_caps: explain that the client name doesn't really matter here

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Sep 8 04:20:23 PDT 2009


Prompted by albanc's review
---
 src/media-factory.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/media-factory.c b/src/media-factory.c
index 83d7cf0..a0dc0cc 100644
--- a/src/media-factory.c
+++ b/src/media-factory.c
@@ -763,6 +763,8 @@ _gabble_media_factory_typeflags_to_caps (TpChannelMediaCapabilities flags,
 {
   DEBUG ("adding Jingle caps %u", flags);
 
+  /* The client name just appears in a debug message, so use something that
+   * won't, in practice, clash with any client that uses ContactCapabilities */
   gabble_media_factory_add_caps (caps, "<legacy Capabilities>",
       (flags & TP_CHANNEL_MEDIA_CAPABILITY_AUDIO) != 0,
       (flags & TP_CHANNEL_MEDIA_CAPABILITY_VIDEO) != 0,
-- 
1.5.6.5




More information about the telepathy-commits mailing list