diff --git a/src/controllers/notifications_controller.rs b/src/controllers/notifications_controller.rs index 8702725..8807e0c 100644 --- a/src/controllers/notifications_controller.rs +++ b/src/controllers/notifications_controller.rs @@ -65,6 +65,7 @@ pub fn mark_seen(r: &mut HttpRequestHandler) -> RequestResult { // notifications if delete_similar { notif.id = None; + notif.from_user_id = None; } notifications_helper::delete(¬if)?;