mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-01 18:27:29 +00:00
add note
This commit is contained in:
parent
f13c3909a0
commit
5005cc8ae3
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ import type { ReactionService } from '../ReactionService.js';
|
||||||
import type { UserEntityService } from './UserEntityService.js';
|
import type { UserEntityService } from './UserEntityService.js';
|
||||||
import type { DriveFileEntityService } from './DriveFileEntityService.js';
|
import type { DriveFileEntityService } from './DriveFileEntityService.js';
|
||||||
|
|
||||||
|
// is-renote.tsとよしなにリンク
|
||||||
function isPureRenote(note: MiNote): note is MiNote & { renoteId: MiNote['id']; renote: MiNote } {
|
function isPureRenote(note: MiNote): note is MiNote & { renoteId: MiNote['id']; renote: MiNote } {
|
||||||
return (
|
return (
|
||||||
note.renote != null &&
|
note.renote != null &&
|
||||||
|
|
Loading…
Reference in a new issue