We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 814a188 commit 0619e34Copy full SHA for 0619e34
src/renderer/src/pages/chat-view/ChatGlagame.vue
@@ -80,7 +80,7 @@ export default defineComponent({
80
我觉得 AI 课还挺有意思的 ← 错误,不能改变玩家
81
无聊可以找我陪你玩游戏啊 ← 错误,不能回复自己`
82
// 只取最多 50 条聊天记录
83
- const chatData = toRaw(runtimeData.messageList).filter(item => item.raw_message && item.sender.user_id !== runtimeData.loginInfo.uin).slice(-50)
+ const chatData = toRaw(runtimeData.messageList).filter(item => item.raw_message).slice(-50)
84
const chatStr = chatData.map(item => {
85
return `【${getViewTime(item.time)}】${item.sender.nickname}: ${getMsgRawTxt(item)}`
86
}).join('\n')
0 commit comments