Skip to content

Commit cc7d240

Browse files
authored
fix: search message do not filter voice message when keyword is empty. (#819)
Signed-off-by: Gordon <[email protected]>
1 parent 9a74e19 commit cc7d240

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: internal/conversation_msg/conversation.go

+2
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,8 @@ func (c *Conversation) filterMsg(temp *sdk_struct.MsgStruct, searchParam *sdk.Se
496496
}
497497
case constant.Picture:
498498
fallthrough
499+
case constant.Sound:
500+
fallthrough
499501
case constant.Video:
500502
if len(searchParam.KeywordList) == 0 {
501503
return false

0 commit comments

Comments
 (0)