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.

zilencer: Clarify what the remote_id column of RemoteCounts is.

Mateusz Mandera852e13a0f059
diff --git a/zilencer/models.py b/zilencer/models.py
index 9b69107b082..9794674e0b8 100644
--- a/zilencer/models.py
+++ b/zilencer/models.py
@@ -132,7 +132,9 @@ class RemoteRealmAuditLog(AbstractRealmAuditLog):
class BaseRemoteCount(BaseCount):
server = models.ForeignKey(RemoteZulipServer, on_delete=models.CASCADE)
- # The remote_id field lets us deduplicate data from the remote server
+ # The remote_id field is the id value of the corresponding *Count object
+ # on the remote server.
+ # It lets us deduplicate data from the remote server.
remote_id = models.IntegerField()
class Meta: