home: Get enable_stream_desktop_notifications from register_ret.

This commit is contained in:
Tim Abbott
2017-04-28 22:01:46 -07:00
parent 2a8a101fe2
commit 2a16cc1d24
8 changed files with 9 additions and 11 deletions

View File

@@ -222,9 +222,6 @@ def home_real(request):
avatar_url_medium = avatar_url(user_profile, medium=True),
avatar_source = user_profile.avatar_source,
# Stream message notification settings:
stream_desktop_notifications_enabled = user_profile.enable_stream_desktop_notifications,
# Private message and @-mention notification settings:
desktop_notifications_enabled = desktop_notifications_enabled,
pm_content_in_desktop_notifications = user_profile.pm_content_in_desktop_notifications,
@@ -264,6 +261,7 @@ def home_real(request):
'enable_offline_push_notifications',
'enable_online_push_notifications',
'enable_sounds',
'enable_stream_desktop_notifications',
'enable_stream_sounds',
'hotspots',
'last_event_id',