Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/services/presence2/buddy.py
diff options
context:
space:
mode:
Diffstat (limited to 'services/presence2/buddy.py')
-rw-r--r--services/presence2/buddy.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/services/presence2/buddy.py b/services/presence2/buddy.py
index 63f6da9..e010d19 100644
--- a/services/presence2/buddy.py
+++ b/services/presence2/buddy.py
@@ -32,7 +32,7 @@ class Buddy(dbus.service.Object):
"""Represents another person on the network and keeps track of the
activities and resources they make available for sharing."""
- def __init__(self, bus_name, object_id, icon_cache):
+ def __init__(self, bus_name, object_id, icon_cache, handle=None):
if not bus_name:
raise ValueError("DBus bus name must be valid")
if not object_id or not isinstance(object_id, int):
@@ -48,6 +48,8 @@ class Buddy(dbus.service.Object):
self._icon_cache = icon_cache
+ self._handle = handle
+
self._nick_name = None
self._color = None
self._key = None