aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/empathy-accounts-dialog.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index ecbcbf00e..92d0ffcc4 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -799,7 +799,6 @@ create_contact_info_editor (EmpathyAccountsDialog *self,
GtkWidget *editor, *alig;
EmpathyContact *contact;
EmpathyContactWidgetFlags flags;
- TpConnection *conn;
contact = empathy_contact_dup_from_tp_contact (tp_contact);
@@ -810,11 +809,6 @@ create_contact_info_editor (EmpathyAccountsDialog *self,
EMPATHY_CONTACT_WIDGET_EDIT_DETAILS |
EMPATHY_CONTACT_WIDGET_NO_ACCOUNT;
- conn = tp_contact_get_connection (tp_contact);
- if (tp_proxy_has_interface_by_id (conn,
- TP_IFACE_QUARK_CONNECTION_INTERFACE_AVATARS))
- flags |= EMPATHY_CONTACT_WIDGET_EDIT_AVATAR;
-
/* create the contact info editor for this account */
editor = empathy_contact_widget_new (contact, flags);