1
0
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:
2020-07-11 13:47:07 +02:00
parent 7519ce59fc
commit 55dc7a43b0
4 changed files with 50 additions and 3 deletions

@@ -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