Bunch small things: Notifs for react, subsplash...
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user