mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-07-19 21:55:24 +00:00
Can delete a single notification
This commit is contained in:
src
@@ -189,6 +189,10 @@ impl PartialNotification {
|
||||
self
|
||||
}
|
||||
|
||||
pub fn has_id(&self) -> bool {
|
||||
self.id.is_some()
|
||||
}
|
||||
|
||||
pub fn set_dest_user_id(mut self, id: &UserID) -> PartialNotification {
|
||||
self.dest_user_id = Some(id.clone());
|
||||
self
|
||||
|
Reference in New Issue
Block a user