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

Merge pull request #78 from JasLin/master

fix: memberList Method have no 'name' argument defined ,it'will cause a undefined error.
...@@ -364,7 +364,7 @@ export class Room extends EventEmitter implements Sayable { ...@@ -364,7 +364,7 @@ export class Room extends EventEmitter implements Sayable {
} }
public memberList(): Contact[] { public memberList(): Contact[] {
log.verbose('Room', 'member(%s)', name) log.verbose('Room', 'memberList')
if (!this.obj || !this.obj.memberList || this.obj.memberList.length < 1) { if (!this.obj || !this.obj.memberList || this.obj.memberList.length < 1) {
log.warn('Room', 'memberList() not ready') log.warn('Room', 'memberList() not ready')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册