mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 04:03:10 +02:00
Update create.ts
This commit is contained in:
parent
0d1ffb581f
commit
f39adfdf87
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue