feat: started working on stickys and locking, started working on replying in threads, added banners, added autism board, other small changes
This commit is contained in:
parent
d8fcc93394
commit
5fdebe3fc1
18 changed files with 132 additions and 35 deletions
|
@ -42,4 +42,8 @@ public class PostData
|
|||
public List<CommentData> Comments { get; set; }
|
||||
|
||||
public ReportData? Report { get; set; }
|
||||
|
||||
public bool IsSticky { get; set; }
|
||||
|
||||
public bool IsLocked { get; set; }
|
||||
}
|
|
@ -38,6 +38,8 @@ public class TheManager
|
|||
{
|
||||
for (int i = board.maxThreads + 1; i >= sortedThreads.Count; ++i)
|
||||
{
|
||||
if (sortedThreads[i].IsSticky)
|
||||
continue;
|
||||
await deleteThread(sortedThreads[i]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue