remote_server: Send API feature level along with Zulip version.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-12-08 12:38:01 -08:00
committed by Tim Abbott
parent 0400614a48
commit f86becfc94
5 changed files with 35 additions and 7 deletions

View File

@@ -48,6 +48,7 @@ class RemoteZulipServer(models.Model):
contact_email = models.EmailField(blank=True, null=False)
last_updated = models.DateTimeField("last updated", auto_now=True)
last_version = models.CharField(max_length=VERSION_MAX_LENGTH, null=True)
last_api_feature_level = models.PositiveIntegerField(null=True)
# Whether the server registration has been deactivated.
deactivated = models.BooleanField(default=False)