[Pkg-telepathy-commits] [telepathy-idle] 03/26: Add handle-name to RoomList properties

Simon McVittie smcv at debian.org
Thu Apr 3 17:49:41 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository telepathy-idle.

commit edb66cf55a57476f549c49830d0add36cb9e02cb
Author: Xavier Claessens <xavier.claessens at collabora.co.uk>
Date:   Mon Jun 10 17:38:25 2013 +0200

    Add handle-name to RoomList properties
    
    Fixes fdo#65614
---
 src/idle-roomlist-channel.c                 | 1 +
 tests/twisted/channels/room-list-channel.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/idle-roomlist-channel.c b/src/idle-roomlist-channel.c
index 4dc53d1..183e696 100644
--- a/src/idle-roomlist-channel.c
+++ b/src/idle-roomlist-channel.c
@@ -325,6 +325,7 @@ _rpl_list_handler (IdleParser *parser,
     }
 
   keys = tp_asv_new (
+      "handle-name", G_TYPE_STRING, room_name,
       "name", G_TYPE_STRING, room_name,
       "members", G_TYPE_UINT, num_users,
       "subject", G_TYPE_STRING, topic,
diff --git a/tests/twisted/channels/room-list-channel.py b/tests/twisted/channels/room-list-channel.py
index 7a7934f..6200904 100644
--- a/tests/twisted/channels/room-list-channel.py
+++ b/tests/twisted/channels/room-list-channel.py
@@ -22,7 +22,7 @@ def check_rooms(received_rooms):
         for r in TEST_CHANNELS:
             if r[0] == info['name']:
                 found = True
-                assert r[1] == info['members'] and r[2] == info['subject']
+                assert r[1] == info['members'] and r[2] == info['subject'] and r[0] == info['handle-name']
                 break;
         assert found
     return True

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-idle.git



More information about the Pkg-telepathy-commits mailing list