mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
I'm an idiot. Same oversight with updating the token when the user is logged in.
This commit is contained in:
@@ -118,6 +118,7 @@ public class ChatBot
|
|||||||
if (await _kfTokenService.IsLoggedIn())
|
if (await _kfTokenService.IsLoggedIn())
|
||||||
{
|
{
|
||||||
_logger.Info("We were already logged in and should have a fresh cookie for chat now");
|
_logger.Info("We were already logged in and should have a fresh cookie for chat now");
|
||||||
|
KfClient.UpdateToken(_kfTokenService.GetXfSessionCookie()!);
|
||||||
await _kfTokenService.SaveCookies();
|
await _kfTokenService.SaveCookies();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user