Skip to content

Commit d7c03f5

Browse files
api: Add realmVideoChatProvider and jitsiServerUrl to InitialSnapshot
1 parent 4ff280d commit d7c03f5

File tree

9 files changed

+20
-6
lines changed

9 files changed

+20
-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

test/example_data.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1335,6 +1335,7 @@ InitialSnapshot initialSnapshot({
13351335
RealmDeleteOwnMessagePolicy? realmDeleteOwnMessagePolicy,
13361336
RealmWildcardMentionPolicy? realmWildcardMentionPolicy,
13371337
bool? realmMandatoryTopics,
1338+
int? realmVideoChatProvider,
13381339
String? realmName,
13391340
int? realmWaitingPeriodThreshold,
13401341
int? realmMessageContentDeleteLimitSeconds,
@@ -1344,6 +1345,7 @@ InitialSnapshot initialSnapshot({
13441345
Uri? realmIconUrl,
13451346
bool? realmPresenceDisabled,
13461347
Map<String, RealmDefaultExternalAccount>? realmDefaultExternalAccounts,
1348+
String? jitsiServerUrl,
13471349
int? maxFileUploadSizeMib,
13481350
Uri? serverEmojiDataUrl,
13491351
String? realmEmptyTopicDisplayName,
@@ -1398,6 +1400,7 @@ InitialSnapshot initialSnapshot({
13981400
realmDeleteOwnMessagePolicy: realmDeleteOwnMessagePolicy,
13991401
realmWildcardMentionPolicy: realmWildcardMentionPolicy ?? RealmWildcardMentionPolicy.everyone,
14001402
realmMandatoryTopics: realmMandatoryTopics ?? true,
1403+
realmVideoChatProvider: realmVideoChatProvider ?? 1,
14011404
realmName: realmName ?? 'Example Zulip organization',
14021405
realmWaitingPeriodThreshold: realmWaitingPeriodThreshold ?? 0,
14031406
realmMessageContentDeleteLimitSeconds: realmMessageContentDeleteLimitSeconds,
@@ -1407,6 +1410,7 @@ InitialSnapshot initialSnapshot({
14071410
realmIconUrl: realmIconUrl ?? _realmIcon,
14081411
realmPresenceDisabled: realmPresenceDisabled ?? false,
14091412
realmDefaultExternalAccounts: realmDefaultExternalAccounts ?? {},
1413+
jitsiServerUrl: jitsiServerUrl ?? 'https://meet.jit.si',
14101414
maxFileUploadSizeMib: maxFileUploadSizeMib ?? 25,
14111415
serverEmojiDataUrl: serverEmojiDataUrl
14121416
?? realmUrl.replace(path: '/static/emoji.json'),

0 commit comments

Comments
 (0)