feat: Createアクティビティにactorを追加

This commit is contained in:
usbharu 2023-04-29 17:54:36 +09:00
parent a4feef5f75
commit a0d661d9f0
2 changed files with 2 additions and 6 deletions

View File

@ -2,7 +2,6 @@ package dev.usbharu.hideout.domain.model.ap
open class Accept : Object { open class Accept : Object {
var `object`: Object? = null var `object`: Object? = null
var actor: String? = null
protected constructor() : super() protected constructor() : super()
constructor( constructor(
@ -10,9 +9,8 @@ open class Accept : Object {
name: String, name: String,
`object`: Object?, `object`: Object?,
actor: String? actor: String?
) : super(add(type, "Accept"), name) { ) : super(add(type, "Accept"), name,actor) {
this.`object` = `object` this.`object` = `object`
this.actor = actor
} }
override fun equals(other: Any?): Boolean { override fun equals(other: Any?): Boolean {

View File

@ -2,7 +2,6 @@ package dev.usbharu.hideout.domain.model.ap
open class Follow : Object { open class Follow : Object {
var `object`: String? = null var `object`: String? = null
var actor: String? = null
protected constructor() : super() protected constructor() : super()
constructor( constructor(
@ -10,9 +9,8 @@ open class Follow : Object {
name: String, name: String,
`object`: String?, `object`: String?,
actor: String? actor: String?
) : super(add(type, "Follow"), name) { ) : super(add(type, "Follow"), name,actor) {
this.`object` = `object` this.`object` = `object`
this.actor = actor
} }