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:
limited_dev 2023-02-25 00:08:36 +01:00
parent d8fcc93394
commit 5fdebe3fc1
18 changed files with 132 additions and 35 deletions

View file

@ -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; }
}

View file

@ -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]);
}
}