diff --git a/files/routes/chat.py b/files/routes/chat.py index dc1bf8c70b..307b33eb3f 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -66,6 +66,7 @@ def speak(data, v): data={ "avatar": v.profile_url, + "hat": v.hat_active, "username": v.username, "namecolor": v.namecolor, "text": text, diff --git a/files/templates/chat.html b/files/templates/chat.html index b33c609fee..a2735ed774 100644 --- a/files/templates/chat.html +++ b/files/templates/chat.html @@ -163,7 +163,12 @@
{% if not same %} - +
+ + {% if m.get('hat') -%} + + {%- endif %} +
{% endif %} {{m['username']}}