aboutsummaryrefslogtreecommitdiff
path: root/templates/status.tmpl
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2019-12-21 05:48:06 +0000
committerr <r@freesoftwareextremist.com>2019-12-21 05:48:06 +0000
commit889f8da49637e908f203d6d9d195f7d585f8cd03 (patch)
tree705431057471930b1f38f70169be07d643aa5662 /templates/status.tmpl
parent3280af21ed1a82aa2b964ae098596b2f13a5fc22 (diff)
downloadbloat-889f8da49637e908f203d6d9d195f7d585f8cd03.tar.gz
bloat-889f8da49637e908f203d6d9d195f7d585f8cd03.zip
Use local url for for mentioned users
Diffstat (limited to 'templates/status.tmpl')
-rw-r--r--templates/status.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/status.tmpl b/templates/status.tmpl
index 618398f..b1babf6 100644
--- a/templates/status.tmpl
+++ b/templates/status.tmpl
@@ -4,7 +4,7 @@
<a href="/user/{{.Account.ID}}" >
<img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="profile-avatar" />
</a>
- <span class="status-dname"> {{WithEmojis .Account.DisplayName .Account.Emojis}} </span>
+ <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span>
<span class="icon dripicons-retweet retweeted"></span>
retweeted
</div>
@@ -22,7 +22,7 @@
<div class="status">
{{if not .HideAccountInfo}}
<div class="status-name">
- <span class="status-dname"> {{WithEmojis .Account.DisplayName .Account.Emojis}} </span>
+ <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span>
<a href="/user/{{.Account.ID}}" >
<span class="status-uname"> {{.Account.Acct}} </span>
</a>
@@ -41,7 +41,7 @@
{{end}}
{{end}}
</div>
- <div class="status-content"> {{WithEmojis .Content .Emojis}} </div>
+ <div class="status-content"> {{StatusContentFilter .Content .Emojis .Mentions}} </div>
<div class="status-media-container">
{{range .MediaAttachments}}
{{if eq .Type "image"}}