Merge pull request #5884 from matrix-org/gsouquet-jitsi-logout

This commit is contained in:
Germain 2021-04-20 09:16:10 +01:00 committed by GitHub
commit 9d2833c74b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -139,6 +139,8 @@ export default class PersistedElement extends React.Component {
_onAction(payload) {
if (payload.action === 'timeline_resize') {
this._repositionChild();
} else if (payload.action === 'logout') {
PersistedElement.destroyElement(this.props.persistKey);
}
}