Skip to content

Commit

Permalink
local: ignore 'Trash' (capital T) (see issue #52)
Browse files Browse the repository at this point in the history
  • Loading branch information
gauteh committed Jan 30, 2018
1 parent 02942cd commit e9d4711
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ You can get an [api key](https://console.developers.google.com/flows/enableapi?a
* The GMail API does not let you sync `muted` messages. Until [this Google
bug](https://issuetracker.google.com/issues/36759067) is fixed, the `mute` and `muted` tags are not synchronized with the remote.

* The [`todo`](https://github.com/gauteh/gmailieer/issues/52) label seems to be reserved and will be ignored.
* The [`todo`](https://github.com/gauteh/gmailieer/issues/52) label seems to be reserved and will be ignored. The same is true for `Trash` (capital `T`), use `trash` (lowercase, see below) to bin messages remotely.

* [Only one of the tags](https://github.com/gauteh/gmailieer/issues/26) `inbox`, `spam`, and `trash` may be added to an email. For
the time being, `trash` will be prefered over `spam`, and `spam` over inbox.
Expand Down
1 change: 1 addition & 0 deletions lieer/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class Local:
'muted',
'mute',
'todo',
'Trash',
])

class RepositoryException (Exception):
Expand Down

0 comments on commit e9d4711

Please sign in to comment.