mediaCompat consistency

This commit is contained in:
Alex Gleason 2024-05-30 12:05:25 -05:00
parent c0123df79a
commit e8ca21acde
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ const createStatusController: AppController = async (c) => {
.filter((url): url is string => Boolean(url)); .filter((url): url is string => Boolean(url));
const quoteCompat = data.quote_id ? `\n\nnostr:${nip19.noteEncode(data.quote_id)}` : ''; const quoteCompat = data.quote_id ? `\n\nnostr:${nip19.noteEncode(data.quote_id)}` : '';
const mediaCompat: string = mediaUrls.length ? ['', '', ...mediaUrls].join('\n') : ''; const mediaCompat = mediaUrls.length ? `\n\n${mediaUrls.join('\n')}` : '';
const event = await createEvent({ const event = await createEvent({
kind: 1, kind: 1,