fix(messageutil): remove dead code
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
bb0f983708
commit
979ff00cc3
1 changed files with 0 additions and 3 deletions
|
|
@ -34,8 +34,5 @@ func FilterInvalidHistoryMessages(history []protocoltypes.Message) []protocoltyp
|
|||
}
|
||||
filtered = append(filtered, msg)
|
||||
}
|
||||
if filtered == nil {
|
||||
return []protocoltypes.Message{}
|
||||
}
|
||||
return filtered
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue