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) {
|
_onAction(payload) {
|
||||||
if (payload.action === 'timeline_resize') {
|
if (payload.action === 'timeline_resize') {
|
||||||
this._repositionChild();
|
this._repositionChild();
|
||||||
|
} else if (payload.action === 'logout') {
|
||||||
|
PersistedElement.destroyElement(this.props.persistKey);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue