[Telepathy-commits] [telepathy-gabble/master] Add TargetID to allowed properties where it was missing

Will Thompson will.thompson at collabora.co.uk
Fri Oct 10 03:29:22 PDT 2008


---
 src/muc-factory.c                     |    1 +
 src/private-tubes-factory.c           |    1 +
 src/roster.c                          |    1 +
 tests/twisted/tubes/ensure-si-tube.py |    4 +++-
 tests/twisted/tubes/test-si-tubes.py  |    4 +++-
 5 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/muc-factory.c b/src/muc-factory.c
index 38133eb..5c93f55 100644
--- a/src/muc-factory.c
+++ b/src/muc-factory.c
@@ -1241,6 +1241,7 @@ static const gchar * const * muc_tubes_channel_fixed_properties =
 
 static const gchar * const muc_channel_allowed_properties[] = {
     TP_IFACE_CHANNEL ".TargetHandle",
+    TP_IFACE_CHANNEL ".TargetID",
     NULL
 };
 
diff --git a/src/private-tubes-factory.c b/src/private-tubes-factory.c
index 1f952b1..81d5263 100644
--- a/src/private-tubes-factory.c
+++ b/src/private-tubes-factory.c
@@ -562,6 +562,7 @@ static const gchar * const tubes_channel_fixed_properties[] = {
 
 static const gchar * const tubes_channel_allowed_properties[] = {
     TP_IFACE_CHANNEL ".TargetHandle",
+    TP_IFACE_CHANNEL ".TargetID",
     NULL
 };
 
diff --git a/src/roster.c b/src/roster.c
index 09cc3f6..21868f8 100644
--- a/src/roster.c
+++ b/src/roster.c
@@ -2491,6 +2491,7 @@ static const gchar * const *group_channel_fixed_properties =
 
 static const gchar * const list_channel_allowed_properties[] = {
     TP_IFACE_CHANNEL ".TargetHandle",
+    TP_IFACE_CHANNEL ".TargetID",
     NULL
 };
 static const gchar * const *group_channel_allowed_properties =
diff --git a/tests/twisted/tubes/ensure-si-tube.py b/tests/twisted/tubes/ensure-si-tube.py
index ea99332..068ee29 100644
--- a/tests/twisted/tubes/ensure-si-tube.py
+++ b/tests/twisted/tubes/ensure-si-tube.py
@@ -61,7 +61,9 @@ def test(q, bus, conn, stream):
                 'org.freedesktop.Telepathy.Channel.Type.Tubes',
              'org.freedesktop.Telepathy.Channel.TargetHandleType': 1,
              },
-             ['org.freedesktop.Telepathy.Channel.TargetHandle'],
+             ['org.freedesktop.Telepathy.Channel.TargetHandle',
+              'org.freedesktop.Telepathy.Channel.TargetID',
+             ]
              ) in properties.get('RequestableChannelClasses'),\
                      properties['RequestableChannelClasses']
 
diff --git a/tests/twisted/tubes/test-si-tubes.py b/tests/twisted/tubes/test-si-tubes.py
index da8e7ab..8bee78a 100644
--- a/tests/twisted/tubes/test-si-tubes.py
+++ b/tests/twisted/tubes/test-si-tubes.py
@@ -59,7 +59,9 @@ def test(q, bus, conn, stream):
                 'org.freedesktop.Telepathy.Channel.Type.Tubes',
              'org.freedesktop.Telepathy.Channel.TargetHandleType': 1,
              },
-             ['org.freedesktop.Telepathy.Channel.TargetHandle'],
+             ['org.freedesktop.Telepathy.Channel.TargetHandle',
+              'org.freedesktop.Telepathy.Channel.TargetID',
+             ],
              ) in properties.get('RequestableChannelClasses'),\
                      properties['RequestableChannelClasses']
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list