aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/empathy-event-manager.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index 188194108..c68458d69 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -370,13 +370,6 @@ event_manager_chat_message_received_cb (EmpathyTpChat *tp_chat,
* queue. */
event = event_lookup_by_approval (approval->manager, approval);
- if (event != NULL && event->inhibit && approval->handler != 0)
- {
- g_signal_handler_disconnect (tp_chat, approval->handler);
- approval->handler = 0;
- return;
- }
-
sender = empathy_message_get_sender (message);
header = empathy_contact_get_name (sender);
msg = empathy_message_get_body (message);