[Telepathy-commits] [telepathy-sofiasip/master] Added Destroyable to the list of text channel interfaces

Mikhail Zabaluev mikhail.zabaluev at nokia.com
Wed Nov 19 23:57:57 PST 2008


---
 src/sip-text-channel.c        |    1 +
 tests/twisted/test-message.py |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/sip-text-channel.c b/src/sip-text-channel.c
index da437b8..1a075a6 100644
--- a/src/sip-text-channel.c
+++ b/src/sip-text-channel.c
@@ -70,6 +70,7 @@ G_DEFINE_TYPE_WITH_CODE (TpsipTextChannel, tpsip_text_channel, G_TYPE_OBJECT,
     G_IMPLEMENT_INTERFACE (TP_TYPE_CHANNEL_IFACE, NULL));
 
 static const char *tpsip_text_channel_interfaces[] = {
+    TP_IFACE_CHANNEL_INTERFACE_DESTROYABLE,
     NULL
 };
 
diff --git a/tests/twisted/test-message.py b/tests/twisted/test-message.py
index 280ba55..98cb083 100644
--- a/tests/twisted/test-message.py
+++ b/tests/twisted/test-message.py
@@ -28,7 +28,7 @@ def test_new_channel(q, bus, conn, target_uri, initiator_uri, requested):
             dbus_interface='org.freedesktop.DBus.Properties')
     assert text_props['ChannelType'] == TEXT_TYPE, text_props
     assert 'Interfaces' in text_props, text_props
-    assert text_props['Interfaces'] == [], text_props
+    assert text_props['Interfaces'] == [DESTROYABLE_IFACE], text_props
     assert 'TargetHandle' in text_props, text_props
     assert text_props['TargetHandle'] == handle, \
             (text_props, handle)
-- 
1.5.6.5



More information about the Telepathy-commits mailing list