diff options
author | Dan Williams <dcbw@localhost.localdomain> | 2006-09-27 15:35:15 (GMT) |
---|---|---|
committer | Dan Williams <dcbw@localhost.localdomain> | 2006-09-27 15:35:15 (GMT) |
commit | 38e85f3987ed945a46e594cbaae959447b7e16d6 (patch) | |
tree | f07ddec7ef398118aa9003fc453f2f1dbb0c57da /services/presence | |
parent | da21d28a2f5c1f95dd99ac957a7a1aa3542d733f (diff) |
Ignore duplicate activity additions
Diffstat (limited to 'services/presence')
-rw-r--r-- | services/presence/Buddy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/presence/Buddy.py b/services/presence/Buddy.py index 7232eea..0b88e2b 100644 --- a/services/presence/Buddy.py +++ b/services/presence/Buddy.py @@ -282,7 +282,7 @@ class Buddy(object): def add_activity(self, activity): if activity in self._activities.values(): - raise RuntimeError("Tried to add activity twice") + return actid = activity.get_id() if not self.__find_service_by_activity_id(actid): raise RuntimeError("Tried to add activity for which we had no service") |