mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: 查看他人聊天记录的bug
This commit is contained in:
parent
d3fdaaa4b3
commit
407a2e1d66
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ export class history extends plugin {
|
|||
messages: [],
|
||||
createdAt: Date.now()
|
||||
}
|
||||
let key = `CHATGPT:CONVERSATIONS_BING:${e.sender.user_id}`
|
||||
let key = `CHATGPT:CONVERSATIONS_BING:${queryUser}`
|
||||
let previousConversation = await redis.get(key) || JSON.stringify({})
|
||||
previousConversation = JSON.parse(previousConversation)
|
||||
let parentMessageId = previousConversation.parentMessageId
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue