mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
Update create.ts
This commit is contained in:
parent
2443c9a746
commit
bc9a3b6960
@ -309,7 +309,7 @@ export default async (user: IUser, data: {
|
|||||||
// Publish event to followers stream
|
// Publish event to followers stream
|
||||||
stream(following.followerId, 'note', noteObj);
|
stream(following.followerId, 'note', noteObj);
|
||||||
|
|
||||||
if (note.visibility != 'public') {
|
if (isRemoteUser(user) || note.visibility != 'public') {
|
||||||
publishHybridTimelineStream(following.followerId, noteObj);
|
publishHybridTimelineStream(following.followerId, noteObj);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user