From 17f02deff72cd79a61731923a5459fd289f811c6 Mon Sep 17 00:00:00 2001 From: r Date: Sat, 16 Jan 2021 10:38:32 +0000 Subject: [PATCH] Show emojis in poll options --- templates/status.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/status.tmpl b/templates/status.tmpl index 6071b2f..e842a96 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -139,12 +139,12 @@ {{range $i, $o := .Poll.Options}}
{{if (or $s.Poll.Expired $s.Poll.Voted)}} -
{{$o.Title}} - {{$o.VotesCount}} votes
+
{{EmojiFilter $o.Title $s.Emojis}} - {{$o.VotesCount}} votes
{{else}} {{end}}