[Telepathy-commits] [telepathy-gabble/master] remove unused code (the function is only ever called after assert priv->initiator != 0)

Robert McQueen robert.mcqueen at collabora.co.uk
Tue Aug 19 10:53:59 PDT 2008


20080726235241-418b8-b9a3f84949d002484380d256dbd499de0044d0a4.gz
---
 src/muc-channel.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/src/muc-channel.c b/src/muc-channel.c
index a5665dc..dd02d1e 100644
--- a/src/muc-channel.c
+++ b/src/muc-channel.c
@@ -2252,12 +2252,6 @@ _gabble_muc_channel_handle_invited (GabbleMucChannel *chan,
   contact_handles = tp_base_connection_get_handles (conn,
       TP_HANDLE_TYPE_CONTACT);
 
-  if (priv->initiator == 0)
-    {
-      tp_handle_ref (contact_handles, inviter);
-      priv->initiator = inviter;
-    }
-
   /* add ourself to local pending and the inviter to members */
   set_members = tp_intset_new ();
   set_pending = tp_intset_new ();
-- 
1.5.6.3




More information about the Telepathy-commits mailing list