Skip to content

Commit 4820d83

Browse files
committed
bugfix(*):
1 parent 92c5459 commit 4820d83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/logic/biz/chat_message.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ func (b *MessageUseCase) checkParamsClearHistory(ctx context.Context, req *reque
312312
return
313313
}
314314
if !receiver.Equal(peer) {
315-
err = fmt.Errorf("lastDelMsgId not match peer: %w", err)
315+
err = errors.New("lastDelMsgId not match peer")
316316
return
317317
}
318318
} else {

0 commit comments

Comments
 (0)