Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor screen set after login #3385

Merged
merged 3 commits into from
Mar 14, 2017
Merged

Refactor screen set after login #3385

merged 3 commits into from
Mar 14, 2017

Conversation

lukebarnard1
Copy link
Contributor

No description provided.

// Clone the current location before MatrixChat gets a chance to change it. This
// can be used to go to the correct screen after login
const entryLocation = {};
Object.keys(window.location).forEach((k) => {entryLocation[k] = window.location[k]});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Object.assign is what you want :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although this doesn't seem to be used anywhere?

@dbkr dbkr assigned lukebarnard1 and unassigned dbkr Mar 8, 2017
@lukebarnard1 lukebarnard1 assigned dbkr and unassigned lukebarnard1 Mar 9, 2017
@dbkr dbkr merged commit 4e6541b into develop Mar 14, 2017
@t3chguy t3chguy deleted the luke/fix-screen-after-login branch May 12, 2022 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants