Skip to content

Commit

Permalink
fix: solve uncorrect log. (#777)
Browse files Browse the repository at this point in the history
  • Loading branch information
mo3et authored Nov 14, 2024
1 parent 584eb41 commit 9f5abc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/conversation_msg/revoke.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func (c *Conversation) quoteMsgRevokeHandle(ctx context.Context, conversationID
return errs.New("QuoteMessage is nil").Wrap()
}
if s.QuoteMessage.ClientMsgID != revokedMsg.ClientMsgID {
return errs.New("quoteMessage ClientMsgID is not revokedMsg ClientMsgID").Wrap()
return nil
}

s.QuoteMessage.Content = utils.StructToJsonString(revokedMsg)
Expand Down

0 comments on commit 9f5abc4

Please sign in to comment.