@@ -474,9 +474,12 @@ class PerAccountStore extends PerAccountStoreBase with ChangeNotifier, EmojiStor
474474 final channels = ChannelStoreImpl (initialSnapshot: initialSnapshot);
475475 return PerAccountStore ._(
476476 core: core,
477+ serverPresencePingIntervalSeconds: initialSnapshot.serverPresencePingIntervalSeconds,
478+ serverPresenceOfflineThresholdSeconds: initialSnapshot.serverPresenceOfflineThresholdSeconds,
477479 realmWildcardMentionPolicy: initialSnapshot.realmWildcardMentionPolicy,
478480 realmMandatoryTopics: initialSnapshot.realmMandatoryTopics,
479481 realmWaitingPeriodThreshold: initialSnapshot.realmWaitingPeriodThreshold,
482+ realmPresenceDisabled: initialSnapshot.realmPresenceDisabled,
480483 maxFileUploadSizeMib: initialSnapshot.maxFileUploadSizeMib,
481484 realmEmptyTopicDisplayName: initialSnapshot.realmEmptyTopicDisplayName,
482485 realmAllowMessageEditing: initialSnapshot.realmAllowMessageEditing,
@@ -516,9 +519,12 @@ class PerAccountStore extends PerAccountStoreBase with ChangeNotifier, EmojiStor
516519
517520 PerAccountStore ._({
518521 required super .core,
522+ required this .serverPresencePingIntervalSeconds,
523+ required this .serverPresenceOfflineThresholdSeconds,
519524 required this .realmWildcardMentionPolicy,
520525 required this .realmMandatoryTopics,
521526 required this .realmWaitingPeriodThreshold,
527+ required this .realmPresenceDisabled,
522528 required this .maxFileUploadSizeMib,
523529 required String ? realmEmptyTopicDisplayName,
524530 required this .realmAllowMessageEditing,
@@ -570,12 +576,16 @@ class PerAccountStore extends PerAccountStoreBase with ChangeNotifier, EmojiStor
570576 ////////////////////////////////
571577 // Data attached to the realm or the server.
572578
579+ final int serverPresencePingIntervalSeconds;
580+ final int serverPresenceOfflineThresholdSeconds;
581+
573582 final RealmWildcardMentionPolicy realmWildcardMentionPolicy; // TODO(#668): update this realm setting
574583 final bool realmMandatoryTopics; // TODO(#668): update this realm setting
575584 /// For docs, please see [InitialSnapshot.realmWaitingPeriodThreshold] .
576585 final int realmWaitingPeriodThreshold; // TODO(#668): update this realm setting
577586 final bool realmAllowMessageEditing; // TODO(#668): update this realm setting
578587 final int ? realmMessageContentEditLimitSeconds; // TODO(#668): update this realm setting
588+ final bool realmPresenceDisabled; // TODO(#668): update this realm setting
579589 final int maxFileUploadSizeMib; // No event for this.
580590
581591 /// The display name to use for empty topics.
0 commit comments