add: speakAsCat extension
This commit is contained in:
parent
736c80c39e
commit
89924b587a
16 changed files with 46 additions and 1 deletions
|
|
@ -352,6 +352,7 @@ export class UserEntityService implements OnModuleInit {
|
|||
createdAt: user.createdAt.toISOString(),
|
||||
isBot: user.isBot ?? falsy,
|
||||
isCat: user.isCat ?? falsy,
|
||||
speakAsCat: user.speakAsCat ?? falsy,
|
||||
instance: user.host ? this.federatedInstanceService.federatedInstanceCache.fetch(user.host).then(instance => instance ? {
|
||||
name: instance.name,
|
||||
softwareName: instance.softwareName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue