mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-02-05 11:48:08 +01:00
refs #4257 Fix isAccount function for FollowRequest
This commit is contained in:
parent
c32560c05c
commit
cbdcd844de
@ -92,7 +92,7 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
const isAccount = (req: any): req is Entity.Account => {
|
||||
return (req as Entity.Account)?.moved !== undefined
|
||||
return !(typeof req.id === 'number')
|
||||
}
|
||||
|
||||
return {
|
||||
|
Loading…
x
Reference in New Issue
Block a user