Skip to content

Commit 2e7e149

Browse files
api: Add video chat configs to initial_snapshot
Added jitsiServerUrl and realmVideoChatProvider to initial_snapshot
1 parent 9d7fff4 commit 2e7e149

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

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.

0 commit comments

Comments
 (0)