[backend/akko-client] Add ThreadMuted to PleromaStatusExtensions so posts properly get set as muted on Pleroma clients
This commit is contained in:
parent
ccf93a06aa
commit
0b24eadf4c
2 changed files with 3 additions and 1 deletions
|
@ -180,7 +180,8 @@ public class NoteRenderer(
|
||||||
{
|
{
|
||||||
LocalOnly = note.LocalOnly,
|
LocalOnly = note.LocalOnly,
|
||||||
Reactions = reactions,
|
Reactions = reactions,
|
||||||
ConversationId = note.ThreadId
|
ConversationId = note.ThreadId,
|
||||||
|
ThreadMuted = muted
|
||||||
}
|
}
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
|
|
|
@ -8,4 +8,5 @@ public class PleromaStatusExtensions
|
||||||
[J("emoji_reactions")] public required List<ReactionEntity> Reactions { get; set; }
|
[J("emoji_reactions")] public required List<ReactionEntity> Reactions { get; set; }
|
||||||
[J("conversation_id")] public required string ConversationId { get; set; }
|
[J("conversation_id")] public required string ConversationId { get; set; }
|
||||||
[J("local")] public required bool LocalOnly { get; set; }
|
[J("local")] public required bool LocalOnly { get; set; }
|
||||||
|
[J("thread_muted")] public required bool ThreadMuted { get; set; }
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue