I am using the Activity Comments add-on with a JomSocial / Joomla installation and
need to customize the functionality.
Currently, if a person is an admin, they can delete any comment. This is all well and good.
What I need, however, is ALSO the ability for the person who posted the comment to delete their own comments.
From what I can tell, the bit of code below enables the Remove button if the person is an admin.
How would I enable the Remove button if the user id matches the user id of a given comment?
if( PactivityComments::isSiteAdmin() || $my->id != $act->actor )