aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/empathy-chat-manager.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/empathy-chat-manager.c b/src/empathy-chat-manager.c
index 946aecb97..38c91fa4d 100644
--- a/src/empathy-chat-manager.c
+++ b/src/empathy-chat-manager.c
@@ -100,22 +100,6 @@ chat_data_free (ChatData *data)
}
static void
-tell_chatroom_manager_if_needed (EmpathyChatManager *self,
- TpAccount *account,
- EmpathyTpChat *chat)
-{
- EmpathyChatManagerPriv *priv = GET_PRIV (self);
- TpHandleType type;
-
- tp_channel_get_handle (empathy_tp_chat_get_channel (chat), &type);
-
- if (type == TP_HANDLE_TYPE_ROOM)
- {
- empathy_chatroom_manager_chat_handled (priv->chatroom_mgr, chat, account);
- }
-}
-
-static void
process_tp_chat (EmpathyChatManager *self,
EmpathyTpChat *tp_chat,
TpAccount *account,
@@ -124,8 +108,6 @@ process_tp_chat (EmpathyChatManager *self,
EmpathyChat *chat = NULL;
const gchar *id;
- tell_chatroom_manager_if_needed (self, account, tp_chat);
-
id = empathy_tp_chat_get_id (tp_chat);
if (!tp_str_empty (id))
{