This note either doesn't exist or is only accessible to authenticated users
}
else
{
if (_note.QuoteUrl != null)
{
var displayUrl = _note.QuoteUrl.StartsWith("https://") ? _note.QuoteUrl[8..] : _note.QuoteUrl[7..];
@if (_note.QuoteInaccessible)
{
This note is quoting @displayUrl, which has either been deleted or is not publicly visible.
}
else
{
This note is quoting @displayUrl
}
}
if (!ShowMedia && _note.Attachments != null)
{
This post has attachments, but this server's configuration prevents them from being displayed here.
}
else if (ShowMedia && _note.Attachments is { Count: > 0 })
{
foreach (var file in _note.Attachments)
{
if (file.MimeType.StartsWith("image/"))
{
}
else if (file.MimeType.StartsWith("video/"))
{
}
else
{