Bunch small things: Notifs for react, subsplash...

This commit is contained in:
aeroreyna
2022-12-28 22:54:19 -05:00
parent 6b6f263821
commit 1f3cc06470
10 changed files with 686 additions and 295 deletions
+3
View File
@@ -14,6 +14,8 @@ class Post {
// Any reaction or comment updates this ts,
// this will be used as index to query new posts
this.lastUpdated = info.lastUpdated || this.createdAt;
// Add tags to posts
this.tags = info.tags;
}
addComment(comment){
@@ -43,6 +45,7 @@ class Post {
r.contentHistory = this.contentHistory;
r.lastUpdated = this.lastUpdated;
r.toProfile = this.toProfile;
r.tags = this.tags;
return r;
}
}