File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,19 @@ import 'store.dart';
12
12
/// * [RealmStoreImpl] for the implementation of this that does the work.
13
13
/// * [HasRealmStore] for an implementation useful for other substores.
14
14
mixin RealmStore on PerAccountStoreBase {
15
+ Duration get serverPresencePingInterval => Duration (seconds: serverPresencePingIntervalSeconds);
15
16
int get serverPresencePingIntervalSeconds;
17
+ Duration get serverPresenceOfflineThreshold => Duration (seconds: serverPresenceOfflineThresholdSeconds);
16
18
int get serverPresenceOfflineThresholdSeconds;
17
19
18
20
RealmWildcardMentionPolicy get realmWildcardMentionPolicy;
19
21
bool get realmMandatoryTopics;
20
22
/// For docs, please see [InitialSnapshot.realmWaitingPeriodThreshold] .
21
23
int get realmWaitingPeriodThreshold;
22
24
bool get realmAllowMessageEditing;
25
+ Duration ? get realmMessageContentEditLimit =>
26
+ realmMessageContentEditLimitSeconds == null ? null
27
+ : Duration (seconds: realmMessageContentEditLimitSeconds! );
23
28
int ? get realmMessageContentEditLimitSeconds;
24
29
bool get realmPresenceDisabled;
25
30
int get maxFileUploadSizeMib;
You can’t perform that action at this time.
0 commit comments