What does this PR do?
Simplest fix: if a response comes in that does not match the current username
, ignore it. Since the username changed, another request has been sent already, and the response will arrive at some point.
The "in case of error" code is a bit annoying because misskeyApi
doesn't pass us any detail apart from the error code, so we now close over the username we requested, and compare against that.
Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines