Skip to content

Make sure that message notifications marked as read are in the current thread.#14

Closed
adiloztaser wants to merge 3 commits intobuddypress:masterfrom
adiloztaser:prevent_empty_in_query
Closed

Make sure that message notifications marked as read are in the current thread.#14
adiloztaser wants to merge 3 commits intobuddypress:masterfrom
adiloztaser:prevent_empty_in_query

Conversation

@adiloztaser
Copy link
Copy Markdown

Trac ticket: https://buddypress.trac.wordpress.org/ticket/8676


This Pull Request is for code review only. Please keep all other discussion in the BuddyPress Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the WordPress Core Handbook for more details.

thebrandonallen pushed a commit to thebrandonallen/buddypress that referenced this pull request Apr 14, 2022
When viewing the single view of the thread, the potential notifications about it are marked as read into the `messages_action_conversation()` function. We don't need to do it again when looping into the thread messages.

This was revealed by a database error which was appearing when a user who had received more than 1 message from two different threads was directly viewing the single view of one of the threads.

Props mike80222, oztaser
Closes buddypress/buddypress#14
See #8676 (trunk)



git-svn-id: https://buddypress.svn.wordpress.org/trunk@13269 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
@adiloztaser adiloztaser deleted the prevent_empty_in_query branch April 14, 2022 19:56
dcavins pushed a commit to dcavins/buddypress-wp-svn that referenced this pull request May 23, 2022
When viewing the single view of the thread, the potential notifications about it are marked as read into the `messages_action_conversation()` function. We don't need to do it again when looping into the thread messages.

This was revealed by a database error which was appearing when a user who had received more than 1 message from two different threads was directly viewing the single view of one of the threads.

Props mike80222, oztaser
Closes buddypress/buddypress#14
See #8676 (trunk)



git-svn-id: http://buddypress.svn.wordpress.org/trunk@13269 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
emaralive pushed a commit to emaralive/omt-buddypress-sync that referenced this pull request Nov 2, 2025
When viewing the single view of the thread, the potential notifications about it are marked as read into the `messages_action_conversation()` function. We don't need to do it again when looping into the thread messages.

This was revealed by a database error which was appearing when a user who had received more than 1 message from two different threads was directly viewing the single view of one of the threads.

Props mike80222, oztaser
Closes buddypress/buddypress#14
See #8676 (trunk)



git-svn-id: https://buddypress.svn.wordpress.org/trunk@13269 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
emaralive pushed a commit to emaralive/buddypress-sync that referenced this pull request Nov 3, 2025
When viewing the single view of the thread, the potential notifications about it are marked as read into the `messages_action_conversation()` function. We don't need to do it again when looping into the thread messages.

This was revealed by a database error which was appearing when a user who had received more than 1 message from two different threads was directly viewing the single view of one of the threads.

Props mike80222, oztaser
Closes buddypress/buddypress#14
See #8676 (trunk)



git-svn-id: https://buddypress.svn.wordpress.org/trunk@13269 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
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.

1 participant