Closed Tguntenaar closed 10 months ago
@frol @ailisp this PR looks good to me and resolves the change as I intended it. Could someone review and merge please to unblock the front end PR?
I am sorry to jump on it late, but I feel it is pointless to fix this functionality given that we plan to implement announcements, discussions, and proposals using SocialDB posts and thus will gain all the notifications out of the box.
This implementation looks pretty weird to me from the design point of view, but instead of trying to clean it up, I would just drop it.
Alright will close this PR since we are dropping it
Resolves #73 and unblocks #505
The notify module now passes the post_type to tell what type of post triggered the notification.
As Elliot mentioned here we resolve "comment" type with no parentId as "blog".
I first added a blog as a type for a post but it would imply a new PostBodyV1 a new PostSnapshotV1 and a whole bunch of extra code to migrate without a real gain. Didn't want to overengineer it.