mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
onboarding: give new users a list of uncompleted onboarding steps.
(imported from commit 068a6e2112db98965ec5a1c5fc69a9fe285c0333)
This commit is contained in:
@@ -768,6 +768,10 @@ def subscribed_to_stream(user_profile, stream):
|
||||
except Subscription.DoesNotExist:
|
||||
return False
|
||||
|
||||
def do_update_onboarding_steps(user_profile, steps):
|
||||
user_profile.onboarding_steps = simplejson.dumps(steps)
|
||||
user_profile.save()
|
||||
|
||||
def do_finish_tutorial(user_profile):
|
||||
user_profile.tutorial_status = UserProfile.TUTORIAL_FINISHED
|
||||
user_profile.save()
|
||||
|
||||
Reference in New Issue
Block a user