SimonAlling / better-sweclockers

Better SweClockers
MIT License
11 stars 4 forks source link

Improve replace followed threads #252

Closed SimonAlling closed 1 year ago

SimonAlling commented 1 year ago

This PR makes the implementation use the getUserInfo function (#251) instead of the type of e.followedThreadsLinkTextOrSigninButton to determine whether the user is logged in. Also, a type assertion is replaced with a type-guard application plus error reporting.