|
|
@ -35,6 +35,7 @@ type webConfigResponse struct { |
|
|
|
Federation federationConfigResponse `json:"federation"` |
|
|
|
Federation federationConfigResponse `json:"federation"` |
|
|
|
Notifications notificationsConfigResponse `json:"notifications"` |
|
|
|
Notifications notificationsConfigResponse `json:"notifications"` |
|
|
|
Authentication authenticationConfigResponse `json:"authentication"` |
|
|
|
Authentication authenticationConfigResponse `json:"authentication"` |
|
|
|
|
|
|
|
HideViewerCount bool `json:"hideViewerCount"` |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
type federationConfigResponse struct { |
|
|
|
type federationConfigResponse struct { |
|
|
@ -135,6 +136,7 @@ func getConfigResponse() webConfigResponse { |
|
|
|
Notifications: notificationsResponse, |
|
|
|
Notifications: notificationsResponse, |
|
|
|
Authentication: authenticationResponse, |
|
|
|
Authentication: authenticationResponse, |
|
|
|
AppearanceVariables: data.GetCustomColorVariableValues(), |
|
|
|
AppearanceVariables: data.GetCustomColorVariableValues(), |
|
|
|
|
|
|
|
HideViewerCount: data.GetHideViewerCount(), |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|