Alter comment
This commit is contained in:
parent
bab6a0b84a
commit
ec730056d8
1 changed files with 2 additions and 1 deletions
|
@ -191,7 +191,8 @@ module.exports = React.createClass({
|
||||||
MatrixClientPeg.opts.initialSyncLimit = this.props.config.sync_timeline_limit;
|
MatrixClientPeg.opts.initialSyncLimit = this.props.config.sync_timeline_limit;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Persist the team token across refreshes
|
// Persist the team token across refreshes using sessionStorage. A new window or
|
||||||
|
// tab will not persist sessionStorage, but refreshes will.
|
||||||
if (this.props.startingFragmentQueryParams.team_token) {
|
if (this.props.startingFragmentQueryParams.team_token) {
|
||||||
window.sessionStorage.setItem(
|
window.sessionStorage.setItem(
|
||||||
'mx_team_token',
|
'mx_team_token',
|
||||||
|
|
Loading…
Reference in a new issue