Skip to content

Commit

Permalink
Merge pull request #6 from tada-team/7038-MaxParticipantsPerCall
Browse files Browse the repository at this point in the history
add MaxParticipantsPerCall + name fix MobleCalls
  • Loading branch information
shoreward authored Oct 2, 2020
2 parents 5a556ff + 947cc0f commit 33591de
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions features.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,6 @@ type Features struct {
// SMS authentication enabled
AuthBySms bool `json:"auth_by_sms,omitempty"`

// Calls functions enabled
Calls bool `json:"calls"`

// Calls functions enabled for mobile applications
MoblieCalls bool `json:"mobile_calls"`

// Calls record enabled
CallsRecord bool `json:"calls_record"`

// ICE servers for WebRTC
ICEServers []ICEServer `json:"ice_servers"`

Expand Down Expand Up @@ -122,6 +113,21 @@ type Features struct {
// Firebase sender id for web-push notifacations
FirebaseSenderId string `json:"firebase_sender_id"`

// Calls functions enabled
Calls bool `json:"calls"`

// Calls functions enabled for mobile applications
MobileCalls bool `json:"mobile_calls"`

// Calls record enabled
CallsRecord bool `json:"calls_record"`

// Disallow call from multiply devices. Experimental
OnlyOneDevicePerCall bool `json:"only_one_device_per_call,omitempty"`

// Maximum number of participants per call
MaxParticipantsPerCall int `json:"max_participants_per_call,omitempty"`

// Safari push id for web-push notifacations
SafariPushId string `json:"safari_push_id"`

Expand All @@ -137,9 +143,6 @@ type Features struct {
// Wiki pages in chats. Experimental
AllowAdminMute bool `json:"allow_admin_mute,omitempty"`

// Disallow call from multiply devices. Experimental
OnlyOneDevicePerCall bool `json:"only_one_device_per_call,omitempty"`

// Deprecated. Always true
TaskChecklist bool `json:"task_checklist"`

Expand Down

0 comments on commit 33591de

Please sign in to comment.