mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 09:53:09 +02:00
Update create.ts
This commit is contained in:
parent
baae9f6f39
commit
4add44f3bd
1 changed files with 4 additions and 1 deletions
|
@ -308,7 +308,10 @@ 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);
|
||||||
publishHybridTimelineStream(following.followerId, noteObj);
|
|
||||||
|
if (note.visibility != 'public') {
|
||||||
|
publishHybridTimelineStream(following.followerId, noteObj);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
//#region AP配送
|
//#region AP配送
|
||||||
// フォロワーがリモートユーザーかつ投稿者がローカルユーザーなら投稿を配信
|
// フォロワーがリモートユーザーかつ投稿者がローカルユーザーなら投稿を配信
|
||||||
|
|
Loading…
Reference in a new issue