mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-19 07:55:17 +00:00
Improve previous method
This commit is contained in:
@ -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)?;
|
||||
|
Reference in New Issue
Block a user