mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
home: Get enable_offline_email_notifications from register_ret.
This commit is contained in:
@@ -229,7 +229,6 @@ def home_real(request):
|
||||
# Private message and @-mention notification settings:
|
||||
desktop_notifications_enabled = desktop_notifications_enabled,
|
||||
sounds_enabled = user_profile.enable_sounds,
|
||||
enable_offline_email_notifications = user_profile.enable_offline_email_notifications,
|
||||
pm_content_in_desktop_notifications = user_profile.pm_content_in_desktop_notifications,
|
||||
|
||||
# Realm foreign key data from register_ret.
|
||||
@@ -263,6 +262,7 @@ def home_real(request):
|
||||
'emojiset',
|
||||
'emojiset_choices',
|
||||
'enable_digest_emails',
|
||||
'enable_offline_email_notifications',
|
||||
'enable_offline_push_notifications',
|
||||
'enable_online_push_notifications',
|
||||
'hotspots',
|
||||
|
||||
Reference in New Issue
Block a user