Skip to content

fix: show notifications checkbox when adding a comment

Mario Oenning requested to merge moson/aurweb:fix-comments-notifications into master

Currently, the Enable notifications checkbox is only shown when editing a comment.
We should also show it when a new comment is about to be added.

When we edit a comment we can also enable notifications (if not yet enabled).
However, currently it only enables notification if the comment was changed.
We should also enable them if there is no change to the comment text itself.

This was reported by "CyberShadow" in IRC a while ago.
See e3ca3c96

Signed-off-by: moson-mo mo-son@mailbox.org

Edited by Mario Oenning

Merge request reports

Loading