Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

create_user: Do not set enter_sends value twice.

Sahil Batra9c4eb764e265
diff --git a/zerver/lib/create_user.py b/zerver/lib/create_user.py
index 6fe28f5a0ff..0ca516b3e41 100644
--- a/zerver/lib/create_user.py
+++ b/zerver/lib/create_user.py
@@ -22,7 +22,6 @@ def copy_user_settings(source_profile: UserProfile, target_profile: UserProfile)
setattr(target_profile, settings_name, value)
setattr(target_profile, "full_name", source_profile.full_name)
- setattr(target_profile, "enter_sends", source_profile.enter_sends)
setattr(target_profile, "timezone", source_profile.timezone)
target_profile.save()