#1664 Adding, editing, and deleting comments as a non repo admin does not update last_updated
Merged by pingou. Opened by mreynolds.
mreynolds/pagure issue1662  into  master

Download 1664.patch

We don't explicitly set last_updated when adding/editing/deleting comments. If you are a repo admin last_updated always get sets regardless of the update being made to the issue, but this is not true for non admins.

This fix just makes sure we always set the last_updated time when dealing with comments

I'm going to merge this as is, but I really think we should start looking at unit-tests for this feature

Pull-Request has been merged by pingou

Metadata