@@ -17,6 +17,13 @@ mixin RealmStore on PerAccountStoreBase {
17
17
Duration get serverPresenceOfflineThreshold => Duration (seconds: serverPresenceOfflineThresholdSeconds);
18
18
int get serverPresenceOfflineThresholdSeconds;
19
19
20
+ Duration get serverTypingStartedExpiryPeriod => Duration (milliseconds: serverTypingStartedExpiryPeriodMilliseconds);
21
+ int get serverTypingStartedExpiryPeriodMilliseconds;
22
+ Duration get serverTypingStoppedWaitPeriod => Duration (milliseconds: serverTypingStoppedWaitPeriodMilliseconds);
23
+ int get serverTypingStoppedWaitPeriodMilliseconds;
24
+ Duration get serverTypingStartedWaitPeriod => Duration (milliseconds: serverTypingStartedWaitPeriodMilliseconds);
25
+ int get serverTypingStartedWaitPeriodMilliseconds;
26
+
20
27
RealmWildcardMentionPolicy get realmWildcardMentionPolicy;
21
28
bool get realmMandatoryTopics;
22
29
/// For docs, please see [InitialSnapshot.realmWaitingPeriodThreshold] .
@@ -96,6 +103,12 @@ mixin ProxyRealmStore on RealmStore {
96
103
@override
97
104
int get serverPresenceOfflineThresholdSeconds => realmStore.serverPresenceOfflineThresholdSeconds;
98
105
@override
106
+ int get serverTypingStartedExpiryPeriodMilliseconds => realmStore.serverTypingStartedExpiryPeriodMilliseconds;
107
+ @override
108
+ int get serverTypingStoppedWaitPeriodMilliseconds => realmStore.serverTypingStoppedWaitPeriodMilliseconds;
109
+ @override
110
+ int get serverTypingStartedWaitPeriodMilliseconds => realmStore.serverTypingStartedWaitPeriodMilliseconds;
111
+ @override
99
112
RealmWildcardMentionPolicy get realmWildcardMentionPolicy => realmStore.realmWildcardMentionPolicy;
100
113
@override
101
114
bool get realmMandatoryTopics => realmStore.realmMandatoryTopics;
@@ -138,6 +151,9 @@ class RealmStoreImpl extends PerAccountStoreBase with RealmStore {
138
151
}) :
139
152
serverPresencePingIntervalSeconds = initialSnapshot.serverPresencePingIntervalSeconds,
140
153
serverPresenceOfflineThresholdSeconds = initialSnapshot.serverPresenceOfflineThresholdSeconds,
154
+ serverTypingStartedExpiryPeriodMilliseconds = initialSnapshot.serverTypingStartedExpiryPeriodMilliseconds,
155
+ serverTypingStoppedWaitPeriodMilliseconds = initialSnapshot.serverTypingStoppedWaitPeriodMilliseconds,
156
+ serverTypingStartedWaitPeriodMilliseconds = initialSnapshot.serverTypingStartedWaitPeriodMilliseconds,
141
157
realmWildcardMentionPolicy = initialSnapshot.realmWildcardMentionPolicy,
142
158
realmMandatoryTopics = initialSnapshot.realmMandatoryTopics,
143
159
realmWaitingPeriodThreshold = initialSnapshot.realmWaitingPeriodThreshold,
@@ -155,6 +171,13 @@ class RealmStoreImpl extends PerAccountStoreBase with RealmStore {
155
171
@override
156
172
final int serverPresenceOfflineThresholdSeconds;
157
173
174
+ @override
175
+ final int serverTypingStartedExpiryPeriodMilliseconds;
176
+ @override
177
+ final int serverTypingStoppedWaitPeriodMilliseconds;
178
+ @override
179
+ final int serverTypingStartedWaitPeriodMilliseconds;
180
+
158
181
@override
159
182
final RealmWildcardMentionPolicy realmWildcardMentionPolicy; // TODO(#668): update this realm setting
160
183
@override
0 commit comments