[backend/masto-client] Render quote-renotes correctly (ISH-281)
This commit is contained in:
parent
fa082a3280
commit
ca56b93524
1 changed files with 3 additions and 3 deletions
|
@ -26,11 +26,11 @@ public class NoteRenderer(
|
|||
{
|
||||
var uri = note.Uri ?? note.GetPublicUri(config.Value);
|
||||
var renote = note is { Renote: not null, IsQuote: false } && recurse > 0
|
||||
? await RenderAsync(note.Renote, user, null, data, 0)
|
||||
: null;
|
||||
var quote = note is { Renote: not null, IsQuote: true } && recurse > 0
|
||||
? await RenderAsync(note.Renote, user, null, data, --recurse)
|
||||
: null;
|
||||
var quote = note is { Renote: not null, IsQuote: true } && recurse > 1
|
||||
? await RenderAsync(note.Renote, user, null, data, 0)
|
||||
: null;
|
||||
var text = note.Text;
|
||||
string? quoteUri = null;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue