2024.11.0-yumechinokuni.7 #41
1 changed files with 1 additions and 1 deletions
|
@ -611,7 +611,7 @@ export function yumeDowncastRemove(object: IObject): IRemove | null {
|
||||||
export function yumeDowncastLike(object: IObject): ILike | null {
|
export function yumeDowncastLike(object: IObject): ILike | null {
|
||||||
if (getApType(object) !== 'Like') return null;
|
if (getApType(object) !== 'Like') return null;
|
||||||
const obj = object as ILike;
|
const obj = object as ILike;
|
||||||
if (!obj.actor || !obj.object || !obj.target) return null;
|
if (!obj.actor || !obj.object) return null;
|
||||||
return {
|
return {
|
||||||
...extractMisskeyVendorKeys(object),
|
...extractMisskeyVendorKeys(object),
|
||||||
...extractSafe(object),
|
...extractSafe(object),
|
||||||
|
|
Loading…
Reference in a new issue