summary refs log tree commit diff
diff options
context:
space:
mode:
authorLuke Barnard <lukeb@openmarket.com>2017-10-16 15:50:39 +0100
committerLuke Barnard <lukeb@openmarket.com>2017-10-16 15:50:39 +0100
commitc43e8a97367e939cd1e0b7819095950a156c9f49 (patch)
tree44ac6774a4913c1afcf93c0fec63c84bf0fe6b79
parent_create_rererouter for get_invited_users_in_group (diff)
downloadsynapse-c43e8a97367e939cd1e0b7819095950a156c9f49.tar.xz
Make it work. Warn about lack of user profile
Diffstat (limited to '')
-rw-r--r--synapse/groups/groups_server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/groups/groups_server.py b/synapse/groups/groups_server.py
index bfa46b7cb2..31fc711876 100644
--- a/synapse/groups/groups_server.py
+++ b/synapse/groups/groups_server.py
@@ -443,10 +443,10 @@ class GroupsServerHandler(object):
                 "user_id": user_id
             }
             try:
-                profile = yield self.profile_handler.get_profile_from_cache(user)
+                profile = yield self.profile_handler.get_profile_from_cache(user_id)
                 user_profile.update(profile)
             except Exception as e:
-                pass
+                logger.warn("Error getting profile for %s: %s", user_id, e)
             user_profiles.append(user_profile)
 
         defer.returnValue({