Skip to content

Commit 9616005

Browse files
committed
store: Add realmWaitingPeriodThreshold to PerAccountStore
1 parent ffb3238 commit 9616005

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/model/store.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ class PerAccountStore extends ChangeNotifier with EmojiStore, ChannelStore, Mess
235235
connection: connection,
236236
realmUrl: realmUrl,
237237
maxFileUploadSizeMib: initialSnapshot.maxFileUploadSizeMib,
238+
realmWaitingPeriodThreshold: initialSnapshot.realmWaitingPeriodThreshold,
238239
realmDefaultExternalAccounts: initialSnapshot.realmDefaultExternalAccounts,
239240
customProfileFields: _sortCustomProfileFields(initialSnapshot.customProfileFields),
240241
emailAddressVisibility: initialSnapshot.emailAddressVisibility,
@@ -270,6 +271,7 @@ class PerAccountStore extends ChangeNotifier with EmojiStore, ChannelStore, Mess
270271
required this.connection,
271272
required this.realmUrl,
272273
required this.maxFileUploadSizeMib,
274+
required this.realmWaitingPeriodThreshold,
273275
required this.realmDefaultExternalAccounts,
274276
required this.customProfileFields,
275277
required this.emailAddressVisibility,
@@ -324,6 +326,8 @@ class PerAccountStore extends ChangeNotifier with EmojiStore, ChannelStore, Mess
324326

325327
String get zulipVersion => account.zulipVersion;
326328
final int maxFileUploadSizeMib; // No event for this.
329+
/// For docs, please see [InitialSnapshot.realmWaitingPeriodThreshold].
330+
final int realmWaitingPeriodThreshold; // TODO(#668): update this realm setting
327331
final Map<String, RealmDefaultExternalAccount> realmDefaultExternalAccounts;
328332
List<CustomProfileField> customProfileFields;
329333
/// For docs, please see [InitialSnapshot.emailAddressVisibility].

0 commit comments

Comments
 (0)