mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-12-27 22:18:51 +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