From 15394a9cefdf6f8ca9cbb6604c6f68425577ae90 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Mon, 29 Aug 2016 12:42:51 -0400 Subject: [bug] return active user as a dict since the command dispatcher expects dicts now --- bonafide/src/leap/bonafide/service.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bonafide/src') diff --git a/bonafide/src/leap/bonafide/service.py b/bonafide/src/leap/bonafide/service.py index ff3c30af..14585eff 100644 --- a/bonafide/src/leap/bonafide/service.py +++ b/bonafide/src/leap/bonafide/service.py @@ -115,5 +115,6 @@ class BonafideService(HookableService): return d def do_get_active_user(self): - user = self._active_user - return defer.succeed(user) + user = self._active_user or '' + info = {'user': user} + return defer.succeed(info) -- cgit v1.2.3