Alter comment

This commit is contained in:
Luke Barnard 2017-02-10 11:39:22 +00:00
parent bab6a0b84a
commit ec730056d8

View file

@ -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',