fix redis conversation key

This commit is contained in:
wangchuxiao
2023-05-29 15:47:27 +08:00
parent be79131498
commit b7b988dff5
3 changed files with 3 additions and 12 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ func (c *msgCache) GetMinSeq(ctx context.Context, conversationID string) (int64,
}
func (c *msgCache) getConversationUserMinSeqKey(conversationID, userID string) string {
return conversationUserMinSeq + "g:" + conversationID + "u:" + userID
return conversationUserMinSeq + conversationID + "u:" + userID
}
func (c *msgCache) GetConversationUserMinSeq(ctx context.Context, conversationID string, userID string) (int64, error) {