mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
home: Get pm_content_in_desktop_notifications from register_ret.
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user