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

pull/21833/head
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
1 changed files with 2 additions and 0 deletions

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);
}
}