mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: 修复群名拿不到的问题
This commit is contained in:
parent
e29e370f25
commit
0d8ef840d4
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
export async function getChatHistoryGroup (e, num) {
|
||||
if (e.adapter === 'shamrock') {
|
||||
return await e.group.getChatHistory(0, num)
|
||||
return await e.group.getChatHistory(0, num, false)
|
||||
} else {
|
||||
let latestChats = await e.group.getChatHistory(0, 1)
|
||||
if (latestChats.length > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue