mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
pointer: Remove pointer from UserProfile.
Most of the changes here are just that we no longer need to provide a value for pointer when we create UserProfile objects.
This commit is contained in:
@@ -79,7 +79,7 @@ def create_user_profile(realm: Realm, email: str, password: Optional[str],
|
||||
user_profile = UserProfile(is_staff=False, is_active=active,
|
||||
full_name=full_name, short_name=short_name,
|
||||
last_login=now, date_joined=now, realm=realm,
|
||||
pointer=-1, is_bot=bool(bot_type), bot_type=bot_type,
|
||||
is_bot=bool(bot_type), bot_type=bot_type,
|
||||
bot_owner=bot_owner, is_mirror_dummy=is_mirror_dummy,
|
||||
tos_version=tos_version, timezone=timezone,
|
||||
tutorial_status=tutorial_status,
|
||||
|
||||
Reference in New Issue
Block a user