mirror of https://github.com/usbharu/Hideout.git
refactor: ExposedActorRepository.ktにuri型を導入2
This commit is contained in:
parent
404ca6c531
commit
85d36e5aa2
|
@ -50,7 +50,7 @@ class ExposedAccountQueryServiceImpl(private val applicationConfig: ApplicationC
|
|||
id = resultRow[Actors.id].toString(),
|
||||
username = resultRow[Actors.name],
|
||||
acct = "${resultRow[Actors.name]}@${resultRow[Actors.domain]}",
|
||||
url = resultRow[Actors.url],
|
||||
url = resultRow[Actors.url].toString(),
|
||||
displayName = resultRow[Actors.screenName],
|
||||
note = resultRow[Actors.description],
|
||||
avatar = "$userUrl/icon.jpg",
|
||||
|
|
|
@ -225,13 +225,13 @@ private fun toStatus(it: ResultRow, queryAlias: QueryAlias, inReplyToAlias: Alia
|
|||
id = it[Actors.id].toString(),
|
||||
username = it[Actors.name],
|
||||
acct = "${it[Actors.name]}@${it[Actors.domain]}",
|
||||
url = it[Actors.url],
|
||||
url = it[Actors.url].toString(),
|
||||
displayName = it[Actors.screenName],
|
||||
note = it[Actors.description],
|
||||
avatar = it[Actors.url] + "/icon.jpg",
|
||||
avatarStatic = it[Actors.url] + "/icon.jpg",
|
||||
header = it[Actors.url] + "/header.jpg",
|
||||
headerStatic = it[Actors.url] + "/header.jpg",
|
||||
avatar = "${it[Actors.url]}/icon.jpg",
|
||||
avatarStatic = "${it[Actors.url]}/icon.jpg",
|
||||
header = "${it[Actors.url]}/header.jpg",
|
||||
headerStatic = "${it[Actors.url]}/header.jpg",
|
||||
locked = it[Actors.locked],
|
||||
fields = emptyList(),
|
||||
emojis = emptyList(),
|
||||
|
|
Loading…
Reference in New Issue