Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

Commit

Permalink
Fixed no visible emails (Fix #63 and #62)
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKing committed Nov 9, 2016
1 parent 0e76133 commit 81baa33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/thread-unsubscribe-store.es6
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class ThreadUnsubscribeStore extends NylasStore {
condition: ThreadConditionType.LOADING,
hasLinks: false,
}
this.messages = this.thread.metadata;
this.messages = this.thread.__messages; // eslint-disable-line
this.links = [];
this.loadLinks();
}
Expand Down Expand Up @@ -110,7 +110,7 @@ class ThreadUnsubscribeStore extends NylasStore {
console.log(`Can not parse "${this.thread.subject}" because it was sent from this account`);
this.threadState.condition = ThreadConditionType.DISABLED;
} else if (error === 'noEmail') {
console.warn(`Can not parse "${this.thread.subject}" for an unknown reason. See below error message:`);
console.warn(`Can not parse an email for an unknown reason. See error message below:`);
console.warn(email);
this.threadState.condition = ThreadConditionType.ERRORED;
} else {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "n1-unsubscribe",
"main": "./lib/main",
"version": "1.6.2",
"version": "1.6.3",
"repository": {
"type": "git",
"url": "https://github.com/colinking/n1-unsubscribe"
Expand Down

0 comments on commit 81baa33

Please sign in to comment.