1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-16 22:01:54 +03:00

Merge pull request #3796 from matrix-org/bwindels/verification-right-panel

Initial support for verification in right panel
This commit is contained in:
Bruno Windels
2020-01-20 17:18:32 +00:00
committed by GitHub
17 changed files with 411 additions and 346 deletions

View File

@ -1134,7 +1134,7 @@ const TimelinePanel = createReactClass({
const allowPartial = opts.allowPartial || false;
const messagePanel = this._messagePanel.current;
if (messagePanel === undefined) return null;
if (!messagePanel) return null;
const messagePanelNode = ReactDOM.findDOMNode(messagePanel);
if (!messagePanelNode) return null; // sometimes this happens for fresh rooms/post-sync