fix: Don't update modified time on set_notifications_as_unseen

This commit is contained in:
Gavin D'souza 2022-05-30 17:15:44 +05:30
parent d193ea22d1
commit 1df1bc5232

View file

@ -148,6 +148,6 @@ def trigger_indicator_hide():
def set_notifications_as_unseen(user):
try:
frappe.db.set_value("Notification Settings", user, "seen", 0)
frappe.db.set_value("Notification Settings", user, "seen", 0, update_modified=False)
except frappe.DoesNotExistError:
return