This commit is contained in:
手瓜一十雪
2024-10-27 09:44:26 +08:00
6 changed files with 208 additions and 251 deletions

View File

@@ -56,7 +56,7 @@ export class ForwardMsgBuilder {
if (!source) {
source = isGroupMsg ? "群聊的聊天记录" :
msg.length
? Array.from(new Set(msg.map(m => m.senderName)))
? Array.from(new Set(msg.slice(0, 4).map(m => m.senderName)))
.join('和') + '的聊天记录'
: '聊天记录';
}