Skip to content

Refactor screen set after login - #3385

Merged
dbkr merged 3 commits into
developfrom
luke/fix-screen-after-login
Mar 14, 2017
Merged

Refactor screen set after login#3385
dbkr merged 3 commits into
developfrom
luke/fix-screen-after-login

Conversation

@lukebarnard1

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/vector/index.js Outdated
// 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
Copy Markdown
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
Copy Markdown
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