diff --git a/README b/README
index 39108fa..1c54778 100644
--- a/README
+++ b/README
@@ -10,6 +10,7 @@ Changes (localhost_custom fork):
- Add reactions for pleroma (includes custom emojis input)
- tag timeline
- visible edited post time
+- visible quoted post (status in status)
- hide boosts in spoiler
- some micro visual changes
- some others changes no matter
diff --git a/mastodon/status.go b/mastodon/status.go
index 54961ec..88d2b00 100644
--- a/mastodon/status.go
+++ b/mastodon/status.go
@@ -18,6 +18,7 @@ import (
type StatusPleroma struct {
InReplyToAccountAcct string `json:"in_reply_to_account_acct"`
Reactions []*ReactionsPleroma `json:"emoji_reactions"`
+ Quote *Status `json:"quote"` // Quoted statuses
}
type ReactionsPleroma struct {
diff --git a/static/style.css b/static/style.css
index aceb215..d59a9a6 100644
--- a/static/style.css
+++ b/static/style.css
@@ -27,6 +27,12 @@ frame, body {
overflow-wrap: break-word;
}
+.status-content .status-profile-img-container {
+ scale: 15%;
+ width: 5%;
+ display: flex;
+}
+
.pleroma-reactions #place-react{
border: 1px solid grey;
background-color: transparent
diff --git a/templates/status.tmpl b/templates/status.tmpl
index fd34a45..c5a8f21 100644
--- a/templates/status.tmpl
+++ b/templates/status.tmpl
@@ -106,6 +106,12 @@
{{if .Sensitive}}[NSFW]
{{end}}
{{- if .SpoilerText}}{{EmojiFilter (HTML .SpoilerText) .Emojis | Raw}}
{{end -}}
{{- StatusContentFilter .Content .Emojis .Mentions | Raw -}}
+ {{if .Pleroma.Quote}}
+
+ quoted post
+ {{template "status" (WithContext .Pleroma.Quote $.Ctx)}}
+
+ {{end}}
{{end}}
{{$st_id := .ID}}