mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: remove adapter check for getImg
This commit is contained in:
parent
01425103f4
commit
5c7c430da6
1 changed files with 4 additions and 4 deletions
|
|
@ -715,9 +715,9 @@ export async function getImg (e) {
|
|||
if (e.source) {
|
||||
let reply
|
||||
let seq = e.isGroup ? e.source.seq : e.source.time
|
||||
if (e.adapter === 'shamrock') {
|
||||
seq = e.source.message_id
|
||||
}
|
||||
// if (e.adapter === 'shamrock') {
|
||||
// seq = e.source.message_id
|
||||
// }
|
||||
if (e.isGroup) {
|
||||
reply = (await e.group.getChatHistory(seq, 1)).pop()?.message
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue