home: Get pm_content_in_desktop_notifications from register_ret.

This commit is contained in:
Tim Abbott
2017-04-28 22:05:35 -07:00
parent 2a16cc1d24
commit c63466cae3
3 changed files with 4 additions and 2 deletions

View File

@@ -224,7 +224,6 @@ def home_real(request):
# Private message and @-mention notification settings:
desktop_notifications_enabled = desktop_notifications_enabled,
pm_content_in_desktop_notifications = user_profile.pm_content_in_desktop_notifications,
# Realm foreign key data from register_ret.
# TODO: Rename these to match register_ret values.
@@ -270,6 +269,7 @@ def home_real(request):
'max_message_id',
'muted_topics',
'never_subscribed',
'pm_content_in_desktop_notifications',
'presences',
'queue_id',
'realm_add_emoji_by_admins_only',