{{with .Data}}
{{if .Reblog}}
avatar {{EmojiFilter (HTML .Account.DisplayName) .Account.Emojis | Raw}} @{{.Account.Acct}} retweeted
{{template "status" (WithContext .Reblog $.Ctx)}} {{else}} {{block "status" (WithContext . $.Ctx)}} {{with $s := .Data}}
{{EmojiFilter (HTML .Account.DisplayName) .Account.Emojis | Raw}} {{if .Account.Bot}}🤖{{end}} @{{.Account.Acct}}
source quickreply {{if .Muted}}
{{else}}
{{end}} {{if .Bookmarked}}
{{else}}
{{end}} {{if eq $.Ctx.UserID .Account.ID}}
{{end}}
{{if .InReplyToID}} in reply to {{if .IDNumbers}}#{{index .IDNumbers .InReplyToID}}{{end}} {{if .Pleroma.InReplyToAccountAcct}}@{{.Pleroma.InReplyToAccountAcct}}{{else if not .IDNumbers}}{{.InReplyToID}}{{end}} {{if index .IDReplies .ID}} - {{end}} {{end}} {{if .ShowReplies}} {{if index .IDReplies .ID}} replies: {{end}} {{range index .IDReplies .ID}} #{{.Number}} {{end}} {{end}}
{{if (or .Content .SpoilerText)}}
{{if .Sensitive}}[NSFW]
{{end}} {{if .SpoilerText}}[{{EmojiFilter (HTML .SpoilerText) .Emojis | Raw}}]
{{end}} {{StatusContentFilter .Content .Emojis .Mentions | Raw}}
{{end}} {{$st_id := .ID}} {{if .Pleroma.Reactions}}
{{range .Pleroma.Reactions}} {{$react := "react"}} {{if .Me}} {{$react := "unreact"}} {{end}}
{{if .Url}} {{else}} {{end}}
{{end}}
{{end}} {{if .MediaAttachments}}
{{range .MediaAttachments}} {{if eq .Type "image"}} {{if $.Ctx.HideAttachments}} [image{{if $s.Sensitive}}/nsfw{{end}}{{if .Description}}: {{.Description}}{{end}}] {{else}} status-image {{if (and $.Ctx.MaskNSFW $s.Sensitive)}}
{{end}}
{{end}} {{else if eq .Type "audio"}} {{if $.Ctx.HideAttachments}} [audio{{if $s.Sensitive}}/nsfw{{end}}{{if .Description}}: {{.Description}}{{end}}] {{else}} {{end}} {{else if eq .Type "video"}} {{if $.Ctx.HideAttachments}} [video{{if $s.Sensitive}}/nsfw{{end}}{{if .Description}}: {{.Description}}{{end}}] {{else}}
{{if (and $.Ctx.MaskNSFW $s.Sensitive)}}
{{end}}
{{end}} {{else}} [attachment{{if $s.Sensitive}}/nsfw{{end}}{{if .Description}}: {{.Description}}{{end}}] {{end}} {{end}}
{{end}} {{if .Poll}}
{{range $i, $o := .Poll.Options}}
{{if (or $s.Poll.Expired $s.Poll.Voted)}}
{{EmojiFilter (HTML $o.Title) $s.Emojis | Raw}} - {{$o.VotesCount}} votes
{{else}} {{end}}
{{end}} {{if not (or .Poll.Expired .Poll.Voted)}} {{end}}
{{.Poll.VotesCount}} votes {{if .Poll.Expired}} - poll expired {{else if .Poll.ExpiresAt}} - poll ends in {{end}}
{{end}}
{{end}} {{end}} {{end}}
{{end}}