Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/model/neighborhood.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/jarabe/model/neighborhood.py')
-rw-r--r--src/jarabe/model/neighborhood.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jarabe/model/neighborhood.py b/src/jarabe/model/neighborhood.py
index 4bb9d92..5a4c5a5 100644
--- a/src/jarabe/model/neighborhood.py
+++ b/src/jarabe/model/neighborhood.py
@@ -552,6 +552,11 @@ class _Account(gobject.GObject):
for handle in attributes.keys():
nick = attributes[handle][CONNECTION_INTERFACE_ALIASING + '/alias']
+ if handle == self._self_handle:
+ logging.debug('_Account.__get_contact_attributes_cb,' \
+ ' do not add ourself %r', handle)
+ continue
+
if handle in self._buddy_handles and \
not self._buddy_handles[handle] is None:
logging.debug('Got handle %r with nick %r, going to update',