swap out set state for updateState

feature/default_network_editable
Frankie 8 years ago
parent a96f892788
commit c7b9adbfcb
  1. 5
      app/scripts/lib/message-manager.js

@ -103,10 +103,7 @@ module.exports = class MessageManager extends EventEmitter{
}
_saveMsgList (msgList) {
this.emit('updateBadge')
let state = this.memStore.getState()
state.messages = msgList
this.memStore.putState(state)
this.memStore.updateState({ messages: msgList })
}

Loading…
Cancel
Save