Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always keep unseen: remove keepUnseen, add markAsSeen #217

Merged
merged 1 commit into from
Oct 2, 2017

Conversation

Slamdunk
Copy link
Collaborator

@Slamdunk Slamdunk commented Oct 2, 2017

Correct propagation of $keepUnseen flag is too complex.
By default from now every operation will retain unseen flag. If you need to mark a mail as seen, use the explicit method.

BC break

  1. Removed Ddeboer\Imap\Message::keepUnseen
  2. Added Ddeboer\Imap\Message::markAsSeen
  3. Removed Ddeboer\Imap\Message::getRawMessage $keepUnseen argument
  4. Removed Ddeboer\Imap\Message::getContent $keepUnseen argument
  5. Removed Ddeboer\Imap\Message::getDecodedContent $keepUnseen argument

@Slamdunk Slamdunk added this to the 1.0 milestone Oct 2, 2017
@Slamdunk Slamdunk merged commit 12b1998 into ddeboer:develop Oct 2, 2017
@Slamdunk Slamdunk deleted the always_keep_unseen branch October 2, 2017 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants