mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-04-14 12:27:29 +08:00
normalize-policy phase-4: remove extra trim/lower from language/trigger/context handling
This commit is contained in:
@@ -174,8 +174,8 @@ func (cb *ContextBuilder) shouldLoadBootstrap() bool {
|
||||
if idErr != nil || userErr != nil {
|
||||
return true
|
||||
}
|
||||
idText := strings.TrimSpace(string(identityData))
|
||||
userText := strings.TrimSpace(string(userData))
|
||||
idText := string(identityData)
|
||||
userText := string(userData)
|
||||
if idText == "" || userText == "" {
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user