mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-04-30 10:46:55 +00:00
make hideNote public
This commit is contained in:
parent
e10e9ba071
commit
cba9fcd4f2
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ export class NoteEntityService implements OnModuleInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
@bindThis
|
@bindThis
|
||||||
private async hideNote(packedNote: Packed<'Note'>, meId: MiUser['id'] | null): Promise<void> {
|
public async hideNote(packedNote: Packed<'Note'>, meId: MiUser['id'] | null): Promise<void> {
|
||||||
if (meId === packedNote.userId) return;
|
if (meId === packedNote.userId) return;
|
||||||
|
|
||||||
// TODO: isVisibleForMe を使うようにしても良さそう(型違うけど)
|
// TODO: isVisibleForMe を使うようにしても良さそう(型違うけど)
|
||||||
|
|
Loading…
Add table
Reference in a new issue