From 942260aa54f61a96a43492f886328df4cfa29dc4 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 18 May 2024 11:53:33 -0500 Subject: [PATCH] note.ts -> utils/note.ts --- src/{ => utils}/note.ts | 0 src/views/mastodon/statuses.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/{ => utils}/note.ts (100%) diff --git a/src/note.ts b/src/utils/note.ts similarity index 100% rename from src/note.ts rename to src/utils/note.ts diff --git a/src/views/mastodon/statuses.ts b/src/views/mastodon/statuses.ts index aefe258b..1b0ebe85 100644 --- a/src/views/mastodon/statuses.ts +++ b/src/views/mastodon/statuses.ts @@ -4,10 +4,10 @@ import { nip19 } from 'nostr-tools'; import { Conf } from '@/config.ts'; import { type DittoEvent } from '@/interfaces/DittoEvent.ts'; -import { getMediaLinks, parseNoteContent } from '@/note.ts'; import { Storages } from '@/storages.ts'; import { findReplyTag } from '@/tags.ts'; import { nostrDate } from '@/utils.ts'; +import { getMediaLinks, parseNoteContent } from '@/utils/note.ts'; import { unfurlCardCached } from '@/utils/unfurl.ts'; import { accountFromPubkey, renderAccount } from '@/views/mastodon/accounts.ts'; import { DittoAttachment, renderAttachment } from '@/views/mastodon/attachments.ts';