FIrst nonorganic posts

This commit is contained in:
aeroreyna
2022-02-16 22:28:11 -08:00
parent 117bc5833a
commit e0c6470bce
3 changed files with 57 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ class Post {
this.reactions = info.reactions || {};
this.comments = info.comments || [];
this.bookmarks = info.bookmarks || []; //set profiles subscribed to this post
this.nonOrganicType = info.nonOrganicType;
//This should record edits
this.contentHistory = info.contentHistory || [];
this.toProfile = info.toProfile || '';
@@ -38,6 +39,7 @@ class Post {
r.createdAt = this.createdAt;
r.reactions = this.reactions;
r.comments = this.comments;
r.nonOrganicType = this.nonOrganicType;
r.contentHistory = this.contentHistory;
r.lastUpdated = this.lastUpdated;
r.toProfile = this.toProfile;