add: notifications for likes

TODO: notifications ui
This commit is contained in:
trisua 2025-03-29 23:51:13 -04:00
parent 6413ed09fb
commit 9dc75d7095
9 changed files with 292 additions and 27 deletions

View file

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