fix: 修复群名拿不到的问题

This commit is contained in:
ikechan8370 2023-11-07 21:59:34 +08:00
parent e29e370f25
commit 0d8ef840d4
2 changed files with 2 additions and 2 deletions

View file

@ -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) {