matrix-react-sdk
066a01ae - Check for a matrixclient before trying to use it

Commit
6 years ago
Check for a matrixclient before trying to use it Was being caught by the try block but still logging an error to the console unnecessarily: we should not expect there to necessarily be a matrix client since we run this from the constructor and there's a shared instance which could be constructed at any point.
Author
Parents
Loading