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 {
|
||||
if (getApType(object) !== 'Like') return null;
|
||||
const obj = object as ILike;
|
||||
if (!obj.actor || !obj.object || !obj.target) return null;
|
||||
if (!obj.actor || !obj.object) return null;
|
||||
return {
|
||||
...extractMisskeyVendorKeys(object),
|
||||
...extractSafe(object),
|
||||
|
|
Loading…
Reference in a new issue