mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-22 21:39:21 +00:00
Improve previous method
This commit is contained in:
parent
2fc6b83f77
commit
d358119ae6
@ -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)?;
|
||||
|
Loading…
Reference in New Issue
Block a user