Skip to content

feat: Remove imap::Session::sync_seen_flags()#7758

Open
iequidoo wants to merge 2 commits intomainfrom
iequidoo/rm-sync_seen_flags
Open

feat: Remove imap::Session::sync_seen_flags()#7758
iequidoo wants to merge 2 commits intomainfrom
iequidoo/rm-sync_seen_flags

Conversation

@iequidoo
Copy link
Copy Markdown
Collaborator

@iequidoo iequidoo commented Jan 20, 2026

Close #7742

However, there's a problem (maybe): with this change, messages will start to arrive always unseen and then be marked as seen as soon as MDNs are received, this will probably cause notifications to appear and then disappear quickly if messages have been already seen on another device. We still store \Seen flags on IMAP.

@iequidoo iequidoo marked this pull request as draft January 20, 2026 21:33
@iequidoo iequidoo force-pushed the iequidoo/rm-sync_seen_flags branch from 266cc9f to 397de34 Compare January 20, 2026 21:34
@iequidoo iequidoo force-pushed the iequidoo/rm-sync_seen_flags branch 2 times, most recently from 3955b41 to 91ea007 Compare March 6, 2026 14:20
@iequidoo iequidoo changed the title Try removing imap::Session::sync_seen_flags() feat: Remove imap::Session::sync_seen_flags() Mar 6, 2026
@iequidoo iequidoo marked this pull request as ready for review March 6, 2026 14:47
@iequidoo iequidoo force-pushed the iequidoo/rm-sync_seen_flags branch 4 times, most recently from 15feacb to dcbfecc Compare March 17, 2026 11:45
@iequidoo

This comment was marked as outdated.

@iequidoo iequidoo force-pushed the iequidoo/rm-sync_seen_flags branch from dcbfecc to 6dbd1ae Compare March 25, 2026 03:09
@iequidoo

This comment was marked as resolved.

@iequidoo iequidoo force-pushed the iequidoo/rm-sync_seen_flags branch 2 times, most recently from d83f90d to b25b500 Compare March 31, 2026 17:08
@iequidoo

This comment was marked as resolved.

@iequidoo iequidoo force-pushed the iequidoo/rm-sync_seen_flags branch from b25b500 to d68cee9 Compare April 2, 2026 14:47
@iequidoo iequidoo force-pushed the iequidoo/rm-sync_seen_flags branch 2 times, most recently from 6f09180 to e5247d1 Compare April 19, 2026 00:24
This way they also can be processed by `markseen_msgs()` resulting in self-MDNs which improves
multi-device synchronization. MDNs to contacts won't really be sent because silent group changes
messages are self-removal messages which don't request MDNs.
@iequidoo iequidoo force-pushed the iequidoo/rm-sync_seen_flags branch from e5247d1 to 95ca5ec Compare April 20, 2026 01:43
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.

Remove sync_seen_flags() eventually

1 participant