mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-29 18:09:05 +01:00
pick lints
This commit is contained in:
parent
46432161b8
commit
799cc0d098
1 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ export class FeedService {
|
|||
}
|
||||
|
||||
// this logic is copied from NoteEntityService.hideNote
|
||||
private compareDates(reference, createdAt: Date): boolean {
|
||||
private compareDates(reference: number | null, createdAt: Date): boolean {
|
||||
if ((reference != null)
|
||||
&& (
|
||||
(reference <= 0 && (Date.now() - createdAt.getTime() > 0 - (reference * 1000)))
|
||||
|
|
Loading…
Reference in a new issue