[backend/akko-client] Add LocalOnly to PleromaStatusExtensions (ISH-658)
This commit is contained in:
parent
0a6b097d4c
commit
caa5263af6
2 changed files with 7 additions and 1 deletions
|
@ -205,7 +205,12 @@ public class NoteRenderer(
|
|||
Reactions = reactions,
|
||||
Tags = tags,
|
||||
Filtered = filterResult,
|
||||
Pleroma = new PleromaStatusExtensions { Reactions = reactions, ConversationId = note.ThreadId }
|
||||
Pleroma = new PleromaStatusExtensions
|
||||
{
|
||||
LocalOnly = note.LocalOnly,
|
||||
Reactions = reactions,
|
||||
ConversationId = note.ThreadId
|
||||
}
|
||||
};
|
||||
|
||||
return res;
|
||||
|
|
|
@ -7,4 +7,5 @@ public class PleromaStatusExtensions
|
|||
{
|
||||
[J("emoji_reactions")] public required List<ReactionEntity> Reactions { get; set; }
|
||||
[J("conversation_id")] public required string ConversationId { get; set; }
|
||||
[J("local")] public required bool LocalOnly { get; set; }
|
||||
}
|
Loading…
Add table
Reference in a new issue