Skip to content

Commit 4d49b07

Browse files
mo3etOpenIM-Robot
authored andcommitted
fix: solve uncorrect log. (#777)
1 parent 7751f20 commit 4d49b07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/conversation_msg/revoke.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func (c *Conversation) quoteMsgRevokeHandle(ctx context.Context, conversationID
154154
return errs.New("QuoteMessage is nil").Wrap()
155155
}
156156
if s.QuoteMessage.ClientMsgID != revokedMsg.ClientMsgID {
157-
return errs.New("quoteMessage ClientMsgID is not revokedMsg ClientMsgID").Wrap()
157+
return nil
158158
}
159159

160160
s.QuoteMessage.Content = utils.StructToJsonString(revokedMsg)

0 commit comments

Comments
 (0)