Commit abdf55bd authored by Dicson's avatar Dicson

hamster.prevent traceback

parent b41ce172
......@@ -63,7 +63,8 @@ class HamsterIntegrationPlugin(GajimPlugin):
# get hamster tags
facts = self.session_presence.GetTodaysFacts(
dbus_interface=HAMSTAER_INTERFACE)
if not facts:
return
if self.from_dbus_fact(facts[-1])['end_time']:
accounts = gajim.connections.keys()
for account in accounts:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment