(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