From f31f89a5403bb48d2db52e31e684d9df42d9f2e2 Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Sat, 29 Apr 2023 17:54:36 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20Create=E3=82=A2=E3=82=AF=E3=83=86?= =?UTF-8?q?=E3=82=A3=E3=83=93=E3=83=86=E3=82=A3=E3=81=ABactor=E3=82=92?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/dev/usbharu/hideout/domain/model/ap/Accept.kt | 4 +--- src/main/kotlin/dev/usbharu/hideout/domain/model/ap/Follow.kt | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/main/kotlin/dev/usbharu/hideout/domain/model/ap/Accept.kt b/src/main/kotlin/dev/usbharu/hideout/domain/model/ap/Accept.kt index 7b6d397a..b2274eb6 100644 --- a/src/main/kotlin/dev/usbharu/hideout/domain/model/ap/Accept.kt +++ b/src/main/kotlin/dev/usbharu/hideout/domain/model/ap/Accept.kt @@ -2,7 +2,6 @@ package dev.usbharu.hideout.domain.model.ap open class Accept : Object { var `object`: Object? = null - var actor: String? = null protected constructor() : super() constructor( @@ -10,9 +9,8 @@ open class Accept : Object { name: String, `object`: Object?, actor: String? - ) : super(add(type, "Accept"), name) { + ) : super(add(type, "Accept"), name,actor) { this.`object` = `object` - this.actor = actor } override fun equals(other: Any?): Boolean { diff --git a/src/main/kotlin/dev/usbharu/hideout/domain/model/ap/Follow.kt b/src/main/kotlin/dev/usbharu/hideout/domain/model/ap/Follow.kt index 9ed6e67a..cf6d1303 100644 --- a/src/main/kotlin/dev/usbharu/hideout/domain/model/ap/Follow.kt +++ b/src/main/kotlin/dev/usbharu/hideout/domain/model/ap/Follow.kt @@ -2,7 +2,6 @@ package dev.usbharu.hideout.domain.model.ap open class Follow : Object { var `object`: String? = null - var actor: String? = null protected constructor() : super() constructor( @@ -10,9 +9,8 @@ open class Follow : Object { name: String, `object`: String?, actor: String? - ) : super(add(type, "Follow"), name) { + ) : super(add(type, "Follow"), name,actor) { this.`object` = `object` - this.actor = actor }