Skip to content

Commit ea79ccd

Browse files
committed
store: Add realmWildcardMentionPolicy to PerAccountStore
1 parent 0431a9e commit ea79ccd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/model/store.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ class PerAccountStore extends ChangeNotifier with EmojiStore, ChannelStore, Mess
268268
globalStore: globalStore,
269269
connection: connection,
270270
realmUrl: realmUrl,
271+
realmWildcardMentionPolicy: initialSnapshot.realmWildcardMentionPolicy,
271272
realmWaitingPeriodThreshold: initialSnapshot.realmWaitingPeriodThreshold,
272273
maxFileUploadSizeMib: initialSnapshot.maxFileUploadSizeMib,
273274
realmDefaultExternalAccounts: initialSnapshot.realmDefaultExternalAccounts,
@@ -311,6 +312,7 @@ class PerAccountStore extends ChangeNotifier with EmojiStore, ChannelStore, Mess
311312
required GlobalStore globalStore,
312313
required this.connection,
313314
required this.realmUrl,
315+
required this.realmWildcardMentionPolicy,
314316
required this.realmWaitingPeriodThreshold,
315317
required this.maxFileUploadSizeMib,
316318
required this.realmDefaultExternalAccounts,
@@ -375,6 +377,7 @@ class PerAccountStore extends ChangeNotifier with EmojiStore, ChannelStore, Mess
375377
Uri? tryResolveUrl(String reference) => _tryResolveUrl(realmUrl, reference);
376378

377379
String get zulipVersion => account.zulipVersion;
380+
final RealmWildcardMentionPolicy realmWildcardMentionPolicy;
378381
/// For docs, please see [InitialSnapshot.realmWaitingPeriodThreshold].
379382
final int realmWaitingPeriodThreshold; // TODO(#668): update this realm setting
380383
final int maxFileUploadSizeMib; // No event for this.

0 commit comments

Comments
 (0)