Opened 5 years ago
Closed 5 years ago
#8489 closed enhancement (fixed)
Mark a thread as (un)read to a specific user
| Reported by: | espellcaste | Owned by: | espellcaste |
|---|---|---|---|
| Priority: | normal | Milestone: | 9.0.0 |
| Component: | Messages | Version: | 8.0.0 |
| Severity: | normal | Keywords: | has-patch has-unit-tests commit |
| Cc: |
Description
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.
Attachments (2)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks for your work on this, I will test it asap 👌