1
0

Fix condition

This commit is contained in:
Brendan Abolivier
2019-06-10 12:10:29 +01:00
parent d331119758
commit 0e63dd89a4
+1 -1
View File
@@ -293,7 +293,7 @@ class RegistrationHandler(BaseHandler):
# Prevent the new user from showing up in the user directory if the server
# mandates it.
if self._show_in_user_directory:
if not self._show_in_user_directory:
yield self.store.add_account_data_for_user(
user_id, "im.vector.hide_profile", {'hide_profile': True},
)