提交 7ebf8f5c 编写于 作者: ruiruibupt's avatar ruiruibupt

fix #1323

上级 c67b41ab
......@@ -318,7 +318,7 @@ export class Room extends Accessory implements Sayable {
}
await this.puppet.messageSendText({
roomId: this.id,
contactId: replyToList[0].id,
contactId: (replyToList && replyToList.length && replyToList[0].id) || undefined,
}, text)
} else if (textOrContactOrFile instanceof FileBox) {
await this.puppet.messageSendFile({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册