Skip to content

fix: markseen_msgs(): Mark reactions to specified messages as seen too (#7884)#7904

Open
iequidoo wants to merge 1 commit intomainfrom
iequidoo/markseen_msgs-reactions
Open

fix: markseen_msgs(): Mark reactions to specified messages as seen too (#7884)#7904
iequidoo wants to merge 1 commit intomainfrom
iequidoo/markseen_msgs-reactions

Conversation

@iequidoo
Copy link
Collaborator

@iequidoo iequidoo commented Mar 1, 2026

This allows to remove notifications for reactions from other devices. NB: UIs should pass all messages to markseen_msgs(), incl. outgoing ones. markseen_msgs() should be called when a message comes into view or when a reaction for a message being in view arrives.

Also don't emit MsgsNoticed from receive_imf_inner() if the chat still contains fresh hidden messages, i.e. include reactions into this logic, to avoid removing notifications for reactions until they are seen on another device.

Close #7884

#7884)

This allows to remove notifications for reactions from other devices. NB: UIs should pass all
messages to markseen_msgs(), incl. outgoing ones. markseen_msgs() should be called when a message
comes into view or when a reaction for a message being in view arrives.

Also don't emit `MsgsNoticed` from receive_imf_inner() if the chat still contains fresh hidden
messages, i.e. include reactions into this logic, to avoid removing notifications for reactions
until they are seen on another device.
@iequidoo iequidoo force-pushed the iequidoo/markseen_msgs-reactions branch from 2d25772 to 13a064d Compare March 1, 2026 14:27
@iequidoo iequidoo requested a review from Amzd March 1, 2026 14:27
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.

Reactions send notifications while chat is open on different device

1 participant