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