Merge branch 'develop' into schedule-note

This commit is contained in:
かっこかり 2023-11-27 21:21:25 +09:00 committed by GitHub
commit 1a54663956
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
76 changed files with 1820 additions and 1114 deletions

View file

@ -58,7 +58,7 @@ export class FeedService {
const feed = new Feed({
id: author.link,
title: `${author.name} (@${user.username}@${this.config.host})`,
updated: this.idService.parse(notes[0].id).date,
updated: notes.length !== 0 ? this.idService.parse(notes[0].id).date : undefined,
generator: 'Misskey',
description: `${user.notesCount} Notes, ${profile.ffVisibility === 'public' ? user.followingCount : '?'} Following, ${profile.ffVisibility === 'public' ? user.followersCount : '?'} Followers${profile.description ? ` · ${profile.description}` : ''}`,
link: author.link,