aboutsummaryrefslogtreecommitdiffstats
path: root/server/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'server/user.py')
-rw-r--r--server/user.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/user.py b/server/user.py
index c6e6e87..a818005 100644
--- a/server/user.py
+++ b/server/user.py
@@ -17,7 +17,8 @@ class User:
ObjectWriter(self.hash).create_root_object(self.jid, registration)
def get_registration(self):
- ObjectReader(self.hash).get_content(self.jid)
+ registration, key = ObjectReader(self.hash).get_content(self.jid)
+ return registration
def registered(self):
return Object(self.hash).exists()