mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
[schema] Save enter_sends on the server in the database.
(imported from commit 4d82f6aaf5918f155a930253c9cc334dbcc0d97a)
This commit is contained in:
@@ -292,6 +292,10 @@ def do_change_enable_desktop_notifications(user_profile, enable_desktop_notifica
|
||||
'user': user_profile.user.email,
|
||||
'enable_desktop_notifications': enable_desktop_notifications})
|
||||
|
||||
def do_change_enter_sends(user_profile, enter_sends):
|
||||
user_profile.enter_sends = enter_sends
|
||||
user_profile.save()
|
||||
|
||||
def set_default_streams(realm, stream_names):
|
||||
DefaultStream.objects.filter(realm=realm).delete()
|
||||
for stream_name in stream_names:
|
||||
|
||||
Reference in New Issue
Block a user