Adding a comment on what comment.read is.

pull/722/head
Dessalines 2020-05-04 21:14:24 -04:00
parent b177cbce1d
commit f1692a07fc
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ pub struct Comment {
pub parent_id: Option<i32>, pub parent_id: Option<i32>,
pub content: String, pub content: String,
pub removed: bool, pub removed: bool,
pub read: bool, pub read: bool, // Whether the recipient has read the comment or not
pub published: chrono::NaiveDateTime, pub published: chrono::NaiveDateTime,
pub updated: Option<chrono::NaiveDateTime>, pub updated: Option<chrono::NaiveDateTime>,
pub deleted: bool, pub deleted: bool,