diff options
author | Luke Barnard <lukeb@openmarket.com> | 2017-10-16 15:50:39 +0100 |
---|---|---|
committer | Luke Barnard <lukeb@openmarket.com> | 2017-10-16 15:50:39 +0100 |
commit | c43e8a97367e939cd1e0b7819095950a156c9f49 (patch) | |
tree | 44ac6774a4913c1afcf93c0fec63c84bf0fe6b79 | |
parent | _create_rererouter for get_invited_users_in_group (diff) | |
download | synapse-c43e8a97367e939cd1e0b7819095950a156c9f49.tar.xz |
Make it work. Warn about lack of user profile
Diffstat (limited to '')
-rw-r--r-- | synapse/groups/groups_server.py | 4 |
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({ |