reorder relay activities to avoid delivery race condition
This commit is contained in:
@@ -614,7 +614,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
||||
|
||||
// フォロワーにUpdateを配信
|
||||
if (this.userNeedsPublishing(user, updates) || this.profileNeedsPublishing(profile, updatedProfile)) {
|
||||
this.accountUpdateService.publishToFollowers(user.id);
|
||||
this.accountUpdateService.publishToFollowers(user);
|
||||
}
|
||||
|
||||
return iObj;
|
||||
|
||||
@@ -174,7 +174,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
||||
}
|
||||
|
||||
// リモートフォロワーにUpdate配信
|
||||
this.pollService.deliverQuestionUpdate(note.id);
|
||||
this.pollService.deliverQuestionUpdate(note);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user