mirror of https://github.com/usbharu/Hideout.git
feat: summaryが無いときは空にするように
This commit is contained in:
parent
4556f11073
commit
6ebf418d0d
|
@ -95,7 +95,7 @@ class ActivityPubUserServiceImpl(
|
|||
?: throw IllegalActivityPubObjectException("preferredUsername is null"),
|
||||
domain = url.substringAfter(":").substringBeforeLast("/"),
|
||||
screenName = (person.name ?: person.preferredUsername) ?: throw IllegalActivityPubObjectException("preferredUsername is null"),
|
||||
description = person.summary ?: throw IllegalActivityPubObjectException("summary is null"),
|
||||
description = person.summary ?: "",
|
||||
inbox = person.inbox ?: throw IllegalActivityPubObjectException("inbox is null"),
|
||||
outbox = person.outbox ?: throw IllegalActivityPubObjectException("outbox is null"),
|
||||
url = url
|
||||
|
|
Loading…
Reference in New Issue