home: Get enable_offline_email_notifications from register_ret.

This commit is contained in:
Tim Abbott
2017-04-28 21:51:41 -07:00
parent 1141111b74
commit a0ef1210eb

View File

@@ -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',