[backend/masto-client] Render quotes & quote/reply inaccessible indicators for notes with no text
This commit is contained in:
parent
d7f39ecdae
commit
566ae8adfd
1 changed files with 3 additions and 3 deletions
|
@ -95,9 +95,9 @@ public class NoteRenderer(
|
|||
note.Renote == null && ((note.RenoteId != null && recurse > 0) || note.RenoteUri != null);
|
||||
|
||||
var content = data?.Source != true
|
||||
? text != null
|
||||
? await mfmConverter.ToHtmlAsync(text, mentionedUsers, note.UserHost, quoteUri, quoteInaccessible,
|
||||
replyInaccessible)
|
||||
? text != null || quoteUri != null || quoteInaccessible || replyInaccessible
|
||||
? await mfmConverter.ToHtmlAsync(text ?? "", mentionedUsers, note.UserHost, quoteUri,
|
||||
quoteInaccessible, replyInaccessible)
|
||||
: ""
|
||||
: null;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue