Fix nick fallback

pull/1003/head
Tyrrrz 2 years ago
parent 55209a0517
commit 0981c51fb9

@ -203,7 +203,7 @@ internal partial class HtmlMarkdownVisitor : MarkdownVisitor
var member = mention.TargetId?.Pipe(_context.TryGetMember); var member = mention.TargetId?.Pipe(_context.TryGetMember);
var fullName = member?.User.FullName ?? "Unknown"; var fullName = member?.User.FullName ?? "Unknown";
var nick = member?.Nick ?? "Unknown"; var nick = member?.Nick ?? member?.User.Name ?? "Unknown";
_buffer.Append( _buffer.Append(
// language=HTML // language=HTML

Loading…
Cancel
Save