handle empty diffs

Previously we didn't send notifications if the diff was None