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
Collaborator

@iequidoo iequidoo commented Jan 20, 2026

Close #7742

Maybe we should merge this first and then #7928 will be easier to debug, maybe it will reproduce more stably or, vice versa, disappear at all.

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.

@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
This way they also can be processed by `markseen_msgs()` resulting in MDNs which improves
multi-device synchronization and updates contacts' `last_seen`. I.e. leave it up to the UIs.
@iequidoo iequidoo force-pushed the iequidoo/rm-sync_seen_flags branch from 397de34 to 3955b41 Compare March 6, 2026 13:13
@iequidoo iequidoo force-pushed the iequidoo/rm-sync_seen_flags branch 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
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