Skip to content

Fix error on getUid(null) with 0 results (#499) #573

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

Merged
merged 1 commit into from
Apr 25, 2025

Conversation

pierement
Copy link
Contributor

The Response objects returned by ImapProtocol::getUid() have their "can_be_empty" flag set to the default of false. That is not correct when $id is set to null, since if we don't have a specific id to fetch, it's also possible there are no messages in the folder.

@Webklex
Copy link
Owner

Webklex commented Apr 25, 2025

Hi @pierement,
many thanks for your pull request and your patience <3

Best regards & happy coding,

@Webklex Webklex merged commit 0e75d7e into Webklex:master Apr 25, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants