Use discord protocol

This commit is contained in:
Ondřej Nývlt 2022-12-22 23:33:54 +01:00
parent e1f9ad0779
commit cad9563a7a

View file

@ -34,7 +34,7 @@
<% } else { %>
<div class="w-8 h-8 rounded-full bg-gray-200"></div>
<% } %>
<a href="https://discord.com/users/<%= member.id %>" class="inline-block px-1 rounded hover:bg-gray-100 transition-colors" target="_blank">
<a href="discord://-/users/<%= member.id %>" class="inline-block px-1 rounded hover:bg-gray-100 transition-colors" target="_blank">
<% if (member.nickname) { %>
<span class="font-bold mr-2"><%= member.nickname %></span>
<% } %>