remove debug print statement

This commit is contained in:
wunter8 2024-03-20 10:54:41 -06:00 committed by GitHub
parent 7fd5f0b29d
commit 83356f565e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -970,7 +970,6 @@ func (s *Server) parsePublishParams(r *http.Request, m *message) (cache bool, fi
}
call = readParam(r, "x-call", "call")
if call != "" && (s.config.TwilioAccount == "" || s.userManager == nil) {
print("call: %s", call)
return false, false, "", "", false, false, errHTTPBadRequestPhoneCallsDisabled
} else if call != "" && !isBoolValue(call) && !phoneNumberRegex.MatchString(call) {
return false, false, "", "", false, false, errHTTPBadRequestPhoneNumberInvalid