mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 06:43:46 +01:00
Make it work. Warn about lack of user profile
This commit is contained in:
parent
a3ac4f6b0a
commit
c43e8a9736
1 changed files with 2 additions and 2 deletions
|
@ -443,10 +443,10 @@ class GroupsServerHandler(object):
|
||||||
"user_id": user_id
|
"user_id": user_id
|
||||||
}
|
}
|
||||||
try:
|
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)
|
user_profile.update(profile)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
pass
|
logger.warn("Error getting profile for %s: %s", user_id, e)
|
||||||
user_profiles.append(user_profile)
|
user_profiles.append(user_profile)
|
||||||
|
|
||||||
defer.returnValue({
|
defer.returnValue({
|
||||||
|
|
Loading…
Reference in a new issue