Closed skylord123 closed 2 years ago
The logic we are using to determine whether the client is connected or not is incorrect. This needs to be fixed.
I first noticed this problem on my home server: Even though it says it is disconnected it actually is still online and will send images just fine.
The correct logic is here: https://github.com/matrix-org/matrix-js-sdk/blob/1c895432edb8d57dfa7938399e966f9404107796/src/client.ts#L8921-L9042
The logic we are using to determine whether the client is connected or not is incorrect. This needs to be fixed.
I first noticed this problem on my home server:
Even though it says it is disconnected it actually is still online and will send images just fine.
The correct logic is here: https://github.com/matrix-org/matrix-js-sdk/blob/1c895432edb8d57dfa7938399e966f9404107796/src/client.ts#L8921-L9042