You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-06-27 15:01:53 +03:00
Alter comment
This commit is contained in:
@ -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',
|
||||||
|
Reference in New Issue
Block a user