Skip to content
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

channels & chat: mark activity for deleted msgs as read #3734

Merged
merged 4 commits into from
Jul 18, 2024

Conversation

Fang-
Copy link
Member

@Fang- Fang- commented Jul 11, 2024

Whenever we see a deletion, mark the corresponding activity event as read. It doesn't make sense to still leave that up to the client, since they won't be rendering those messages anymore.

Draft because we need to do this for chat also.

Closes TLON-2274.

Whenever we see a deletion, mark the corresponding activity event as
read. It doesn't make sense to still leave that up to the client, since
they won't be rendering those messages anymore.
@Fang- Fang- requested a review from arthyn July 11, 2024 21:06
Copy link

linear bot commented Jul 11, 2024

@arthyn
Copy link
Member

arthyn commented Jul 12, 2024

so far so good

Instead of doing individual read marking, which is no longer supported.
Similar to the changes made to /app/channel, we want to remove activity
that happened under a post, when the post itself gets deleted.
@Fang- Fang- marked this pull request as ready for review July 18, 2024 20:56
Copy link
Member

@arthyn arthyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm ty!

@arthyn arthyn merged commit 0326150 into develop Jul 18, 2024
1 check passed
@arthyn arthyn deleted the m/deletion-reads branch July 18, 2024 21:23
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.

2 participants