fix(multi-send): Check that other message exists

This commit is contained in:
Jackie Luo 2016-12-29 16:00:30 -08:00
parent b99c5a671d
commit e03d7b9df6
2 changed files with 2 additions and 2 deletions

2
src/K2

@ -1 +1 @@
Subproject commit be1d772f3204184575742048e1ccd0a2c7d75e50
Subproject commit a0d83b605af0cb78c5687e748a22ddb32d463919

View file

@ -12,7 +12,7 @@ export default class ReconcileMultiSendTask extends Task {
}
isDependentOnTask(other) {
return (other instanceof SendDraftTask) && (other.message.clientId === this.message.clientId);
return (other instanceof SendDraftTask) && (other.message) && (other.message.clientId === this.message.clientId);
}
performLocal() {