]> Untitled Git - lemmy.git/commitdiff
Adding a comment on what comment.read is.
authorDessalines <tyhou13@gmx.com>
Tue, 5 May 2020 01:14:24 +0000 (21:14 -0400)
committerDessalines <tyhou13@gmx.com>
Tue, 5 May 2020 01:14:24 +0000 (21:14 -0400)
server/src/db/comment.rs

index 59c2ccd298e3944f4be857ed74423d935ac5c930..2e8b54c3bb043387b2c817e3f8b1d831d87761b2 100644 (file)
@@ -21,7 +21,7 @@ pub struct Comment {
   pub parent_id: Option<i32>,
   pub content: String,
   pub removed: bool,
-  pub read: bool,
+  pub read: bool, // Whether the recipient has read the comment or not
   pub published: chrono::NaiveDateTime,
   pub updated: Option<chrono::NaiveDateTime>,
   pub deleted: bool,