[buddypress-trac] [BuddyPress Trac] #8489: Mark a thread as (un)read to a specific user

buddypress-trac noreply at wordpress.org
Sat Jun 19 01:12:02 UTC 2021


#8489: Mark a thread as (un)read to a specific user
-------------------------+--------------------------------------
 Reporter:  espellcaste  |      Owner:  espellcaste
     Type:  enhancement  |     Status:  assigned
 Priority:  normal       |  Milestone:  9.0.0
Component:  Messages     |    Version:  8.0.0
 Severity:  normal       |   Keywords:  has-patch has-unit-tests
-------------------------+--------------------------------------
 Currently, `messages_mark_thread_read` and `messages_mark_thread_unread`
 grab the id of the user from the logged in user or from the displayed user
 id.

 From an API perspective, that's not ideal since you can't set a specific
 user id directly.

 So I'm suggesting an improvement so that we can use those functions in the
 BuddyPress APIs (REST API and CLI) by setting a user ID directly without
 relying in the forementioned user IDs.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8489>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list