[buddypress-trac] [BuddyPress Trac] #7235: Allow for message threads to be deleted for users other than the current user

buddypress-trac noreply at wordpress.org
Mon Aug 29 22:02:30 UTC 2016


#7235: Allow for message threads to be deleted for users other than the current
user
-------------------------+-----------------------------
 Reporter:  jdgrimes     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Messages     |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 Message threads are deleted on a per-user basis, and then only removed
 from the database completely once all recipients have marked the thread as
 deleted. Currently message threads can only be deleted for the user who is
 the current user, because the use of `bp_loggedin_user_id()` is hard-coded
 in `BP_Messages_Thread::delete()`. There is an accompanying `todo` comment
 suggesting that this should be fixed. As I just ran into an issue with
 this in the context of unit testing some code that uses the messages API,
 I thought I'd work up a patch.

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


More information about the buddypress-trac mailing list