(bug): publishing a blog that was saved as a draft or "unlisted" does not generate activity post
Summary
Many bloggers like to save drafts or publish blogs as unlisted before making them public so they can work on them. If you save a draft, or publish as unlisted, and eventually try to publish the blog to public, then it does not generate an activity post.
Steps to reproduce
-
Write a blog
-
Save as draft (can try doing this twice)
-
go back to edit blog and publish as public.
-
No activity post created
-
Write a blog
-
Publish as unlisted
-
go back and edit blog and publish as public
-
no activity post created
Platform information
All
What is the expected correct behavior?
An activity post should be created everytime you publish a blog as "Pubic" no matter what the state of the blog was prior.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)