[Telepathy-commits] [telepathy-salut/master] muc-manager: don't call salut_muc_manager_emit_new_channel in new_{muc, tubes}_channel as the caller will call it himself too

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Tue Nov 25 06:12:15 PST 2008


---
 src/salut-muc-manager.c   |    2 --
 tests/twisted/Makefile.am |    3 ++-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/salut-muc-manager.c b/src/salut-muc-manager.c
index ffd0cc5..4334b95 100644
--- a/src/salut-muc-manager.c
+++ b/src/salut-muc-manager.c
@@ -565,7 +565,6 @@ salut_muc_manager_new_muc_channel (SalutMucManager *mgr,
   g_free (path);
 
   g_signal_connect (chan, "closed", G_CALLBACK (muc_channel_closed_cb), mgr);
-  salut_muc_manager_emit_new_channel (mgr, TP_EXPORTABLE_CHANNEL (chan));
 
   g_hash_table_insert (priv->text_channels, GUINT_TO_POINTER (handle), chan);
 
@@ -607,7 +606,6 @@ new_tubes_channel (SalutMucManager *self,
       NULL);
 
   g_signal_connect (chan, "closed", (GCallback) tubes_channel_closed_cb, self);
-  salut_muc_manager_emit_new_channel (self, TP_EXPORTABLE_CHANNEL (chan));
 
   g_hash_table_insert (priv->tubes_channels, GUINT_TO_POINTER (room), chan);
 
diff --git a/tests/twisted/Makefile.am b/tests/twisted/Makefile.am
index 83bba83..fc83638 100644
--- a/tests/twisted/Makefile.am
+++ b/tests/twisted/Makefile.am
@@ -20,7 +20,8 @@ TWISTED_AVAHI_TESTS = \
 	avahi/test-text-channel.py \
 	avahi/test-ichat-composing.py \
 	avahi/test-ichat-incoming-msg.py \
-	avahi/test-room-list.py \
+	avahi/test-request-muc.py \
+        avahi/test-roomlist.py \
 	avahi/test-tube.py \
 	avahi/test-two-tubes.py \
 	avahi/test-tube-close.py
-- 
1.5.6.5




More information about the Telepathy-commits mailing list