mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-23 05:49:22 +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
|
// notifications
|
||||||
if delete_similar {
|
if delete_similar {
|
||||||
notif.id = None;
|
notif.id = None;
|
||||||
|
notif.from_user_id = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
notifications_helper::delete(¬if)?;
|
notifications_helper::delete(¬if)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user