Stalwart/JMAP: “Mark all as read” leaves messages unread

In EGroupware 26.11.20261119, open a Stalwart/JMAP folder with unread messages and choose Mark all as read. The messages remain unread. Marking individual messages as read works.

The folder action passes all to Mail::flagMessages(), but jmapMessageIds() rejects that value. A local fix that queries unread IDs in the selected folder and sets $seen in batches worked with
52 test messages and preserved their other flags.

Hi hansa.

Yes, we’re already aware of that. I’ve created a ticket for it and we’re working on it.
But Stalwart does have a few quirks of its own…

Stefan

Hi hansa.

Fixed now:
https://github.com/EGroupware/egroupware/commit/e07f55458d886a4f76635918a5396e96e0a52bcf

It’ll be coming (soon) with the next update.

Stefan

Hi Stefan,

thanks for fast response and the fix!

Hansa