Skip to content

Commit 085de31

Browse files
realm: Add video call configs to initial_snapshot
1 parent 8beb251 commit 085de31

File tree

9 files changed

+28
-6
lines changed

9 files changed

+28
-6
lines changed

android/app/src/main/kotlin/com/zulip/flutter/AndroidIntents.g.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Autogenerated from Pigeon (v26.0.1), do not edit directly.
1+
// Autogenerated from Pigeon (v26.0.2), do not edit directly.
22
// See also: https://pub.dev/packages/pigeon
33
@file:Suppress("UNCHECKED_CAST", "ArrayInDataClass")
44

android/app/src/main/kotlin/com/zulip/flutter/AndroidNotifications.g.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Autogenerated from Pigeon (v26.0.1), do not edit directly.
1+
// Autogenerated from Pigeon (v26.0.2), do not edit directly.
22
// See also: https://pub.dev/packages/pigeon
33
@file:Suppress("UNCHECKED_CAST", "ArrayInDataClass")
44

ios/Runner/Notifications.g.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Autogenerated from Pigeon (v26.0.1), do not edit directly.
1+
// Autogenerated from Pigeon (v26.0.2), do not edit directly.
22
// See also: https://pub.dev/packages/pigeon
33

44
import Foundation

lib/api/model/initial_snapshot.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ class InitialSnapshot {
8888
/// Search for "realm_wildcard_mention_policy" in https://zulip.com/api/register-queue.
8989
final RealmWildcardMentionPolicy realmWildcardMentionPolicy;
9090

91+
final int realmVideoChatProvider;
92+
9193
final bool realmMandatoryTopics;
9294

9395
final String realmName;
@@ -113,6 +115,8 @@ class InitialSnapshot {
113115

114116
final Map<String, RealmDefaultExternalAccount> realmDefaultExternalAccounts;
115117

118+
final String? jitsiServerUrl;
119+
116120
final int maxFileUploadSizeMib;
117121

118122
final Uri serverEmojiDataUrl;
@@ -181,6 +185,7 @@ class InitialSnapshot {
181185
required this.realmDeleteOwnMessagePolicy,
182186
required this.realmWildcardMentionPolicy,
183187
required this.realmMandatoryTopics,
188+
required this.realmVideoChatProvider,
184189
required this.realmName,
185190
required this.realmWaitingPeriodThreshold,
186191
required this.realmMessageContentDeleteLimitSeconds,
@@ -190,6 +195,7 @@ class InitialSnapshot {
190195
required this.realmIconUrl,
191196
required this.realmPresenceDisabled,
192197
required this.realmDefaultExternalAccounts,
198+
required this.jitsiServerUrl,
193199
required this.maxFileUploadSizeMib,
194200
required this.serverEmojiDataUrl,
195201
required this.realmEmptyTopicDisplayName,

lib/api/model/initial_snapshot.g.dart

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/host/android_intents.g.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Autogenerated from Pigeon (v26.0.1), do not edit directly.
1+
// Autogenerated from Pigeon (v26.0.2), do not edit directly.
22
// See also: https://pub.dev/packages/pigeon
33
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import, no_leading_underscores_for_local_identifiers
44

lib/host/android_notifications.g.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Autogenerated from Pigeon (v26.0.1), do not edit directly.
1+
// Autogenerated from Pigeon (v26.0.2), do not edit directly.
22
// See also: https://pub.dev/packages/pigeon
33
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import, no_leading_underscores_for_local_identifiers
44

lib/host/notifications.g.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Autogenerated from Pigeon (v26.0.1), do not edit directly.
1+
// Autogenerated from Pigeon (v26.0.2), do not edit directly.
22
// See also: https://pub.dev/packages/pigeon
33
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import, no_leading_underscores_for_local_identifiers
44

lib/model/realm.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ mixin RealmStore on PerAccountStoreBase, UserGroupStore {
3232
Duration get serverTypingStartedWaitPeriod => Duration(milliseconds: serverTypingStartedWaitPeriodMilliseconds);
3333
int get serverTypingStartedWaitPeriodMilliseconds;
3434

35+
String? get jitsiServerUrl;
36+
int get realmVideoChatProvider;
3537
//|//////////////////////////////////////////////////////////////
3638
// Realm settings.
3739

@@ -174,6 +176,10 @@ mixin ProxyRealmStore on RealmStore {
174176
@override
175177
bool get realmMandatoryTopics => realmStore.realmMandatoryTopics;
176178
@override
179+
int get realmVideoChatProvider => realmStore.realmVideoChatProvider;
180+
@override
181+
String? get jitsiServerUrl => realmStore.jitsiServerUrl;
182+
@override
177183
int get maxFileUploadSizeMib => realmStore.maxFileUploadSizeMib;
178184
@override
179185
int? get realmMessageContentDeleteLimitSeconds => realmStore.realmMessageContentDeleteLimitSeconds;
@@ -230,6 +236,8 @@ class RealmStoreImpl extends HasUserGroupStore with RealmStore {
230236
realmCanDeleteAnyMessageGroup = initialSnapshot.realmCanDeleteAnyMessageGroup,
231237
realmCanDeleteOwnMessageGroup = initialSnapshot.realmCanDeleteOwnMessageGroup,
232238
realmMandatoryTopics = initialSnapshot.realmMandatoryTopics,
239+
realmVideoChatProvider = initialSnapshot.realmVideoChatProvider,
240+
jitsiServerUrl = initialSnapshot.jitsiServerUrl,
233241
maxFileUploadSizeMib = initialSnapshot.maxFileUploadSizeMib,
234242
realmMessageContentDeleteLimitSeconds = initialSnapshot.realmMessageContentDeleteLimitSeconds,
235243
realmMessageContentEditLimitSeconds = initialSnapshot.realmMessageContentEditLimitSeconds,
@@ -380,6 +388,10 @@ class RealmStoreImpl extends HasUserGroupStore with RealmStore {
380388
@override
381389
final bool realmMandatoryTopics;
382390
@override
391+
final int realmVideoChatProvider;
392+
@override
393+
final String? jitsiServerUrl;
394+
@override
383395
final int maxFileUploadSizeMib;
384396
@override
385397
final int? realmMessageContentDeleteLimitSeconds;

0 commit comments

Comments
 (0)