diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/empathy.c b/src/empathy.c index fe9caf6c6..1d478c357 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -100,16 +100,7 @@ dispatch_cb (EmpathyDispatcher *dispatcher, (empathy_dispatch_operation_get_channel_wrapper (operation)); id = empathy_tp_chat_get_id (tp_chat); - if (!id) - { - EmpathyContact *contact; - - contact = empathy_tp_chat_get_remote_contact (tp_chat); - if (contact) - id = empathy_contact_get_id (contact); - } - - if (id) + if (!EMP_STR_EMPTY (id)) { EmpathyAccountManager *manager; TpConnection *connection; |