mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-15 06:27:34 -07:00
[Client] いい感じに
This commit is contained in:
parent
accc0b2e3c
commit
00e8be593d
1 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,11 @@ get-post-summary = (post) ~>
|
|||
|
||||
# メディアが添付されているとき
|
||||
if post.media?
|
||||
summary += " (#{post.media.length}枚の画像)"
|
||||
summary += " (#{post.media.length}枚のメディア)"
|
||||
|
||||
# 投票が添付されているとき
|
||||
if post.poll?
|
||||
summary += " (投票)"
|
||||
|
||||
# 返信のとき
|
||||
if post.reply_to_id?
|
||||
|
|
Loading…
Reference in a new issue