]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/account/account.ts
Add auto follow back support for instances
[github/Chocobozzz/PeerTube.git] / server / models / account / account.ts
index 394a55f5e087b0128e1cb39f0940329213633aae..ba1094536f9721e4e6c3e0a248ffc84bf848e016 100644 (file)
@@ -381,7 +381,7 @@ export class AccountModel extends Model<AccountModel> {
   }
 
   toActivityPubObject (this: MAccountAP) {
-    const obj = this.Actor.toActivityPubObject(this.name, 'Account')
+    const obj = this.Actor.toActivityPubObject(this.name)
 
     return Object.assign(obj, {
       summary: this.description