mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-09-19 03:18:46 +00:00
Can delete all the notifications related with a user
This commit is contained in:
@@ -216,6 +216,11 @@ impl PartialNotification {
|
||||
self
|
||||
}
|
||||
|
||||
pub fn set_from_user_id(mut self, id: &UserID) -> PartialNotification {
|
||||
self.from_user_id = Some(id.clone());
|
||||
self
|
||||
}
|
||||
|
||||
pub fn set_on_elem_id(mut self, id: u64) -> PartialNotification {
|
||||
self.on_elem_id = Some(id);
|
||||
self
|
||||
|
Reference in New Issue
Block a user