Fix for synapse >= v0.24

jdbi_and_liquibase v0.1.1
Maxime Dor 7 years ago
parent 8efcda5967
commit 46e68c4cbe

@ -79,7 +79,7 @@ class RestAuthProvider(object):
logger.info("Handling profile data")
profile = auth["profile"]
store = yield self.account_handler.hs.get_handlers().profile_handler.store
store = yield self.account_handler.hs.get_profile_handler().store
if "display_name" in profile and ((registration and self.config.setNameOnRegister) or (self.config.setNameOnLogin)):
display_name = profile["display_name"]
logger.info("Setting display name to '%s' based on profile data", display_name)

Loading…
Cancel
Save