[buddypress-trac] [BuddyPress Trac] #8426: Update queries when new message notifications mark as read

buddypress-trac noreply at wordpress.org
Sat Jan 16 06:35:38 UTC 2021


#8426: Update queries when new message notifications mark as read
-----------------------------------------+---------------------
 Reporter:  oztaser                      |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  8.0.0
Component:  Messages                     |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |
-----------------------------------------+---------------------
Changes (by imath):

 * keywords:  has-patch => has-patch reporter-feedback
 * type:  enhancement => defect (bug)
 * milestone:  Awaiting Review => 8.0.0


Comment:

 Hi @oztaser

 Thanks a lot for your report and patch: good catch! I wonder if we could
 also avoid the query to check if there are unread notifications.

 In `bp_messages_mark_notification_on_mark_thread()` instead of getting all
 thread messages, maybe we could get all thread unread messages?

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8426#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list