mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-27 22:38:10 +09:00
Fix bad math
This commit is contained in:
parent
1a90496318
commit
7465e8461d
@ -135,7 +135,7 @@ export async function createNote(
|
||||
logger.warn('Note somehow made before Activitypub was created; discarding');
|
||||
return null;
|
||||
}
|
||||
if (DateChecker < FutureCheck) {
|
||||
if (DateChecker > FutureCheck) {
|
||||
logger.warn('Note somehow made after today; discarding')
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user