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.

realm_audit_logs: Add clarifying comment to REALM_IMPORTED event.

Mateusz Mandera374c1a93ee4b
diff --git a/zerver/models/realm_audit_logs.py b/zerver/models/realm_audit_logs.py
index 304001d0be4..f9c5704c6aa 100644
--- a/zerver/models/realm_audit_logs.py
+++ b/zerver/models/realm_audit_logs.py
@@ -66,6 +66,10 @@ class AuditLogEventType(IntEnum):
REALM_EMOJI_ADDED = 226
REALM_EMOJI_REMOVED = 227
REALM_LINKIFIERS_REORDERED = 228
+
+ # This event for a realm means that this server processed exported data
+ # (either from another Zulip server or a 3rd party app such as Slack),
+ # and imported the data as the given realm.
REALM_IMPORTED = 229
REALM_EXPORT_DELETED = 230