Skip to content

Commit 055eb38

Browse files
committed
store: Add realmWaitingPeriodThreshold to PerAccountStore
1 parent de1ca7f commit 055eb38

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
@@ -233,6 +233,7 @@ class PerAccountStore extends ChangeNotifier with ChannelStore, MessageStore {
233233
connection: connection,
234234
realmUrl: account.realmUrl,
235235
maxFileUploadSizeMib: initialSnapshot.maxFileUploadSizeMib,
236+
realmWaitingPeriodThreshold: initialSnapshot.realmWaitingPeriodThreshold,
236237
realmDefaultExternalAccounts: initialSnapshot.realmDefaultExternalAccounts,
237238
realmEmoji: initialSnapshot.realmEmoji,
238239
customProfileFields: _sortCustomProfileFields(initialSnapshot.customProfileFields),
@@ -267,6 +268,7 @@ class PerAccountStore extends ChangeNotifier with ChannelStore, MessageStore {
267268
required this.connection,
268269
required this.realmUrl,
269270
required this.maxFileUploadSizeMib,
271+
required this.realmWaitingPeriodThreshold,
270272
required this.realmDefaultExternalAccounts,
271273
required this.realmEmoji,
272274
required this.customProfileFields,
@@ -319,6 +321,8 @@ class PerAccountStore extends ChangeNotifier with ChannelStore, MessageStore {
319321

320322
String get zulipVersion => account.zulipVersion;
321323
final int maxFileUploadSizeMib; // No event for this.
324+
/// For docs, please see [InitialSnapshot.realmWaitingPeriodThreshold].
325+
final int realmWaitingPeriodThreshold;
322326
final Map<String, RealmDefaultExternalAccount> realmDefaultExternalAccounts;
323327
Map<String, RealmEmojiItem> realmEmoji;
324328
List<CustomProfileField> customProfileFields;

0 commit comments

Comments
 (0)