ignore stale `users/show` responses - fixes #741
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
-
I agree to follow this project's Contribution Guidelines -
I have made sure to test this pull request
Merge request reports
Activity
Filter activity
requested review from @fEmber, @puppygirlhornypost, and @Marie
enabled an automatic merge when all merge checks for bf6ca8ef pass
mentioned in commit 669e5c6c
Please register or sign in to reply