(data)
| 22 | class Wechat extends WechatCore { |
| 23 | |
| 24 | constructor (data) { |
| 25 | super(data) |
| 26 | _.extend(this, new EventEmitter()) |
| 27 | this.state = this.CONF.STATE.init |
| 28 | this.contacts = {} // 所有联系人 |
| 29 | this.Contact = ContactFactory(this) |
| 30 | this.Message = MessageFactory(this) |
| 31 | this.lastSyncTime = 0 |
| 32 | this.syncPollingId = 0 |
| 33 | this.syncErrorCount = 0 |
| 34 | this.checkPollingId = 0 |
| 35 | this.retryPollingId = 0 |
| 36 | } |
| 37 | |
| 38 | get friendList () { |
| 39 | let members = [] |
nothing calls this directly
no test coverage detected