Merge branch 'develop' into reversi
This commit is contained in:
@@ -58,7 +58,7 @@ export class ApAudienceService {
|
||||
};
|
||||
}
|
||||
|
||||
if (toGroups.followers.length > 0) {
|
||||
if (toGroups.followers.length > 0 || ccGroups.followers.length > 0) {
|
||||
return {
|
||||
visibility: 'followers',
|
||||
mentionedUsers,
|
||||
|
@@ -63,8 +63,8 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
||||
throw new ApiError(meta.errors.invalidSeed);
|
||||
}
|
||||
|
||||
// シードが古すぎる(1時間以上前)のも弾く
|
||||
if (seedDate.getTime() < now.getTime() - 1000 * 60 * 60) {
|
||||
// シードが古すぎる(5時間以上前)のも弾く
|
||||
if (seedDate.getTime() < now.getTime() - 1000 * 60 * 60 * 5) {
|
||||
throw new ApiError(meta.errors.invalidSeed);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user