From 5b080bd0cf6e0b69ee398d8b7f6a8fcb7e6f489e Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Sun, 6 Apr 2014 17:00:28 -0700 Subject: [PATCH] Fix one name_changes_disabled check (imported from commit f1bf125949bd282c8a9054d3e3b2e92c7bd5ab4e) --- zerver/views/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/views/__init__.py b/zerver/views/__init__.py index 0d7d62d580..cb0926ca70 100644 --- a/zerver/views/__init__.py +++ b/zerver/views/__init__.py @@ -1466,7 +1466,7 @@ def json_change_settings(request, user_profile, result = {} if user_profile.full_name != full_name and full_name.strip() != "": - if name_changes_disabled(user_profile.realm.domain): + if name_changes_disabled(user_profile.realm): # Failingly silently is fine -- they can't do it through the UI, so # they'd have to be trying to break the rules. pass