Skip to content

Commit c193b7b

Browse files
committed
store [nfc]: Assert that FL>=334 when accessing realmEmptyTopicName
1 parent d4cd455 commit c193b7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/model/store.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,7 @@ class PerAccountStore extends PerAccountStoreBase with ChangeNotifier, EmojiStor
577577
/// be empty otherwise.
578578
// TODO(server-10) simplify this
579579
String get realmEmptyTopicDisplayName {
580+
assert(zulipFeatureLevel >= 334);
580581
assert(_realmEmptyTopicDisplayName != null); // TODO(log)
581582
return _realmEmptyTopicDisplayName ?? 'general chat';
582583
}

0 commit comments

Comments
 (0)