Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
import: Fix incorrect RealmEmoji query.
Tim Abbottba8801b07f8c
diff --git a/zerver/lib/import_realm.py b/zerver/lib/import_realm.pyindex 47fba79448f..92f1297a5a8 100644--- a/zerver/lib/import_realm.py+++ b/zerver/lib/import_realm.py@@ -878,7 +878,7 @@ def process_emojis(# while 3rd party exports don't use the deactivated field, so this shouldn't# particularly matter.RealmEmoji.objects.filter(- name=record["name"], realm_id=user_profile.realm_id, deactivated=False+ file_name=record["file_name"], realm_id=user_profile.realm_id, deactivated=False).update(is_animated=True)