add: notifications for likes
TODO: notifications ui
This commit is contained in:
parent
6413ed09fb
commit
9dc75d7095
9 changed files with 292 additions and 27 deletions
|
@ -114,6 +114,7 @@ pub struct Notification {
|
|||
pub title: String,
|
||||
pub content: String,
|
||||
pub owner: usize,
|
||||
pub read: bool,
|
||||
}
|
||||
|
||||
impl Notification {
|
||||
|
@ -128,6 +129,7 @@ impl Notification {
|
|||
title,
|
||||
content,
|
||||
owner,
|
||||
read: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue