summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sunshine/channel/contact_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunshine/channel/contact_list.py b/sunshine/channel/contact_list.py
index 0e22d49..fa9c0b3 100644
--- a/sunshine/channel/contact_list.py
+++ b/sunshine/channel/contact_list.py
@@ -162,7 +162,7 @@ class SunshineSubscribeListChannel(SunshineListChannel):
self._conn_ref().exportContactsFile()
def _remove(self, handle_id):
- handle = self._conn.handle(telepathy.HANDLE_TYPE_CONTACT, h)
+ handle = self._conn.handle(telepathy.HANDLE_TYPE_CONTACT, handle_id)
contact = handle.contact
if contact is None:
return True