From 00cf20d771e2f81cea3be4eeb2dae53be01b158e Mon Sep 17 00:00:00 2001 From: Zixuan James Li Date: Fri, 23 Aug 2024 15:07:28 -0400 Subject: [PATCH] TODO api: Add TODO to modernize GetServerSettingsResult.zulipMergeBase Marked as TODO as this might change in the future. See https://github.com/zulip/zulip-flutter/pull/904#discussion_r1747943940. See "Feature level 88" from Zulip API changelog: https://zulip.com/api/changelog Signed-off-by: Zixuan James Li --- lib/api/route/realm.dart | 3 ++- lib/api/route/realm.g.dart | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/api/route/realm.dart b/lib/api/route/realm.dart index aca71e85b5..b3b50f66c5 100644 --- a/lib/api/route/realm.dart +++ b/lib/api/route/realm.dart @@ -34,7 +34,8 @@ class GetServerSettingsResult { final int zulipFeatureLevel; final String zulipVersion; - final String? zulipMergeBase; // TODO(server-5) + // TODO: Modernize this once we get to #267 + final String? zulipMergeBase; final bool pushNotificationsEnabled; final bool isIncompatible; diff --git a/lib/api/route/realm.g.dart b/lib/api/route/realm.g.dart index 8957739f30..1a71302cb9 100644 --- a/lib/api/route/realm.g.dart +++ b/lib/api/route/realm.g.dart @@ -20,7 +20,7 @@ GetServerSettingsResult _$GetServerSettingsResultFromJson( .toList(), zulipFeatureLevel: (json['zulip_feature_level'] as num).toInt(), zulipVersion: json['zulip_version'] as String, - zulipMergeBase: json['zulip_merge_base'] as String?, + zulipMergeBase: json['zulip_merge_base'] as String, pushNotificationsEnabled: json['push_notifications_enabled'] as bool, isIncompatible: json['is_incompatible'] as bool, emailAuthEnabled: json['email_auth_enabled'] as bool,