mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Merge pull request #5884 from matrix-org/gsouquet-jitsi-logout
This commit is contained in:
commit
9d2833c74b
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue