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

Go to comment when clicking on reply comment in inbox, fixes #1089 #1091

Merged
merged 3 commits into from
Aug 3, 2023

Conversation

twizmwazin
Copy link
Contributor

No description provided.

@@ -407,7 +407,8 @@ fun InboxTabs(
}
},
onPostClick = { postId ->
appState.toPost(id = postId)
goToComment(commentReplyView)
markAsRead(commentReplyView)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This will cause it to mark already marked as read comments as not read yet.
Do the same as

                              // Do not mark already read reply as read
                                                if (!crv.comment_reply.read) {
                                                    markAsRead(crv)
                                                }

@dessalines
Copy link
Member

Does this overlap with #1127?

@dessalines dessalines enabled auto-merge (squash) August 3, 2023 13:48
@dessalines dessalines disabled auto-merge August 3, 2023 13:48
@dessalines dessalines merged commit 4d4affe into LemmyNet:main Aug 3, 2023
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.

3 participants