Don't use a stinky Timer for user bumps and exclude AFK.
This commit is contained in:
parent
36f3ff6385
commit
27c28aafcd
6 changed files with 77 additions and 66 deletions
SharpChat
|
@ -32,7 +32,9 @@ namespace SharpChat {
|
|||
|
||||
if(hasCancelled) return;
|
||||
|
||||
using HttpClient httpClient = new();
|
||||
using HttpClient httpClient = new(new HttpClientHandler() {
|
||||
UseProxy = false, // we will never and the initial resolving takes forever on linux
|
||||
});
|
||||
httpClient.DefaultRequestHeaders.Add(@"User-Agent", @"SharpChat/20230206");
|
||||
|
||||
if(hasCancelled) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue