mirror of https://github.com/usbharu/Hideout.git
feat: Createアクティビティにactorを追加
This commit is contained in:
parent
b5f6c60e05
commit
f31f89a540
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue