mirror of
https://github.com/tateisu/SubwayTooter
synced 2024-12-26 08:53:12 +01:00
(Misskey)添付メディアの説明文の改善
This commit is contained in:
parent
a73d8a45d0
commit
c06121d9c3
@ -83,7 +83,14 @@ class TootAttachment(serviceType:ServiceType,src : JSONObject) : TootAttachmentL
|
||||
preview_url = src.parseString("thumbnailUrl")
|
||||
remote_url = url
|
||||
text_url = url
|
||||
description = src.parseString("comment")
|
||||
|
||||
description = arrayOf(
|
||||
src.parseString("name"),
|
||||
src.parseString("comment")
|
||||
)
|
||||
.filterNotNull()
|
||||
.joinToString(" / ")
|
||||
|
||||
focusX = 0f
|
||||
focusY = 0f
|
||||
isSensitive = src.optBoolean("isSensitive",false)
|
||||
|
Loading…
Reference in New Issue
Block a user