Alter comment

pull/21833/head
Luke Barnard 2017-02-10 11:39:22 +00:00
parent bab6a0b84a
commit ec730056d8
1 changed files with 2 additions and 1 deletions

View File

@ -191,7 +191,8 @@ module.exports = React.createClass({
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) {
window.sessionStorage.setItem(
'mx_team_token',