format group or username for delete notification, fixes #9041

see instructions in #9041 

reviewers @LukasReschke @raghunayyar @PVince81