Skip to content

Commit 3575a3b

Browse files
committed
store: Add realmWildcardMentionPolicy to PerAccountStore
1 parent 9498edb commit 3575a3b

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
realmMandatoryTopics: initialSnapshot.realmMandatoryTopics,
272273
realmWaitingPeriodThreshold: initialSnapshot.realmWaitingPeriodThreshold,
273274
maxFileUploadSizeMib: initialSnapshot.maxFileUploadSizeMib,
@@ -312,6 +313,7 @@ class PerAccountStore extends ChangeNotifier with EmojiStore, ChannelStore, Mess
312313
required GlobalStore globalStore,
313314
required this.connection,
314315
required this.realmUrl,
316+
required this.realmWildcardMentionPolicy,
315317
required this.realmMandatoryTopics,
316318
required this.realmWaitingPeriodThreshold,
317319
required this.maxFileUploadSizeMib,
@@ -377,6 +379,7 @@ class PerAccountStore extends ChangeNotifier with EmojiStore, ChannelStore, Mess
377379
Uri? tryResolveUrl(String reference) => _tryResolveUrl(realmUrl, reference);
378380

379381
String get zulipVersion => account.zulipVersion;
382+
final RealmWildcardMentionPolicy realmWildcardMentionPolicy; // TODO(#668): update this realm setting
380383
final bool realmMandatoryTopics; // TODO(#668): update this realm setting
381384
/// For docs, please see [InitialSnapshot.realmWaitingPeriodThreshold].
382385
final int realmWaitingPeriodThreshold; // TODO(#668): update this realm setting

0 commit comments

Comments
 (0)