Make up for the attachments in the recent activity tab in profile

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #1791 from emanuele45/fix

Make up for the attachments in the recent activity tab in profile