1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-22 21:39:21 +00:00

Improve previous method

This commit is contained in:
Pierre HUBERT 2020-07-11 14:25:44 +02:00
parent 2fc6b83f77
commit d358119ae6

View File

@ -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(&notif)?;