提交 c7936cda 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

#68 should use `obj.from` instead of `obj.id`. thanks @kyle-yu

上级 e734876f
......@@ -230,7 +230,7 @@ export class Message implements Sayable {
const userId = Config.puppetInstance()
.userId
const fromId = this.obj.id
const fromId = this.obj.from
if (!userId || !fromId) {
throw new Error('no user or no from')
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册