Fix permalink not working for remote statuses

This commit is contained in:
Shadowfacts 2020-04-25 22:28:14 -04:00
parent f51d4a6be4
commit b034d159a9
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
</h3>
<p class="status-meta-right">
<span><%= display_timestamp(@note["published"]) %></span>
<a href="<%= @note["url"] %>" class="status-permalink">Permalink</a>
<a href="<%= @note["url"] || @note["id"] %>" class="status-permalink">Permalink</a>
</p>
</div>
<div class="status-content">