Skip to content
Snippets Groups Projects
Unverified Commit f39adfdf authored by syuilo's avatar syuilo Committed by GitHub
Browse files

Update create.ts

parent 0d1ffb58
No related branches found
No related tags found
No related merge requests found
......@@ -309,7 +309,7 @@ export default async (user: IUser, data: {
// Publish event to followers stream
stream(following.followerId, 'note', noteObj);
if (note.visibility != 'public') {
if (isRemoteUser(user) || note.visibility != 'public') {
publishHybridTimelineStream(following.followerId, noteObj);
}
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment