mirror of
				https://github.com/owncast/owncast.git
				synced 2025-11-01 02:44:31 +08:00 
			
		
		
		
	* Add support for established user mode. #1587 * Tweak tests * Tweak tests * Update test * Fix test.
This commit is contained in:
		| @ -54,6 +54,7 @@ func GetServerConfig(w http.ResponseWriter, r *http.Request) { | ||||
| 		ChatDisabled:            data.GetChatDisabled(), | ||||
| 		ChatJoinMessagesEnabled: data.GetChatJoinMessagesEnabled(), | ||||
| 		SocketHostOverride:      data.GetWebsocketOverrideHost(), | ||||
| 		ChatEstablishedUserMode: data.GetChatEstbalishedUsersOnlyMode(), | ||||
| 		VideoSettings: videoSettings{ | ||||
| 			VideoQualityVariants: videoQualityVariants, | ||||
| 			LatencyLevel:         data.GetStreamLatencyLevel().Level, | ||||
| @ -98,6 +99,7 @@ type serverConfigAdminResponse struct { | ||||
| 	YP                      yp                       `json:"yp"` | ||||
| 	ChatDisabled            bool                     `json:"chatDisabled"` | ||||
| 	ChatJoinMessagesEnabled bool                     `json:"chatJoinMessagesEnabled"` | ||||
| 	ChatEstablishedUserMode bool                     `json:"chatEstablishedUserMode"` | ||||
| 	ExternalActions         []models.ExternalAction  `json:"externalActions"` | ||||
| 	SupportedCodecs         []string                 `json:"supportedCodecs"` | ||||
| 	VideoCodec              string                   `json:"videoCodec"` | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Gabe Kangas
					Gabe Kangas