Skip to content

Commit

Permalink
v1.32 - features chagned
Browse files Browse the repository at this point in the history
  • Loading branch information
sdfsdhgjkbmnmxc committed Jun 9, 2021
1 parent 853890d commit f348ad2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
v1.32
- features.calls deprecated. Use features.calls_version: (0 = disabled, 1 = audio only, 2 = audio+video)
- features.min_app_version deprecated. Use features.min_ios_version, features.min_android_version
17 changes: 13 additions & 4 deletions features.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ type Features struct {
// Default UI theme
Theme string `json:"theme"`

// Minimal application version required for this server. Used for breaking changes
MinAppVersion string `json:"min_app_version"`
// Minimal iOS application version required for this server. Used for breaking changes
MinIOSVersion string `json:"min_ios_version"`

// Minimal android application version required for this server. Used for breaking changes
MinAndroidVersion string `json:"min_android_version"`

// Free registration allowed
FreeRegistration bool `json:"free_registration"`
Expand Down Expand Up @@ -169,8 +172,8 @@ type Features struct {
// Firebase settings for web-push notifications
FirebaseStorageBucket string `json:"firebase_storage_bucket"`

// Calls functions enabled
Calls bool `json:"calls"`
// Calls version. 0 = disabled, 1 = audio only, 2 = audio+video
CallsVersion int `json:"calls_version"`

// Calls functions enabled for mobile applications
MobileCalls bool `json:"mobile_calls"`
Expand Down Expand Up @@ -225,6 +228,12 @@ type Features struct {

// Deprecated
TaskTags bool `json:"task_tags"`

// Deprecated
Calls bool `json:"calls"`

// Deprecated
MinAppVersion string `json:"min_app_version"`
}

// Interactive Connectivity Establishment Server for WEB Rtc connection. Readonly.
Expand Down

0 comments on commit f348ad2

Please sign in to comment.