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

Backport parseURLParams from jitsi-meet #786

Merged
merged 1 commit into from
Aug 25, 2022

Conversation

psi-4ward
Copy link
Contributor

Used https://github.com/jitsi/jitsi-meet/blob/master/react/features/base/util/parseURLParams.ts and removed the typescript stuff and replaced deprecated substr()
Ref: #642

Signed-off-by: Christoph Wiechert [email protected]
CLA already signed

@saghul
Copy link
Member

saghul commented Aug 23, 2022

@hristoterezov You were right about wanting to factor this one out to js-utils 😅

@csett86
Copy link
Member

csett86 commented Aug 25, 2022

Tested, now config.disableChatSmileys=true works as intended in the electron app as well

@csett86 csett86 linked an issue Aug 25, 2022 that may be closed by this pull request
@csett86 csett86 merged commit 7d0a6de into jitsi:master Aug 25, 2022
@csett86
Copy link
Member

csett86 commented Aug 25, 2022

Thank you for your contribution, @psi-4ward

Copy link
Contributor

@TallTed TallTed left a comment

Choose a reason for hiding this comment

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

Do you need a new PR from me, or are these comments on the already-merged #786 sufficient?



/**
* A list if keys to ignore when parsing.
Copy link
Contributor

Choose a reason for hiding this comment

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

typo

Suggested change
* A list if keys to ignore when parsing.
* A list of keys to ignore when parsing.

* returns them as a JS object.
*
* @param {URL} url - The URL to parse.
* @param {boolean} dontParse - If falsy, some transformations (for parsing the
Copy link
Contributor

Choose a reason for hiding this comment

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

typo

Suggested change
* @param {boolean} dontParse - If falsy, some transformations (for parsing the
* @param {boolean} dontParse - If false, some transformations (for parsing the

* @param {URL} url - The URL to parse.
* @param {boolean} dontParse - If falsy, some transformations (for parsing the
* value as JSON) will be executed.
* @param {string} source - If {@code 'search'}, the parameters will parsed out
Copy link
Contributor

Choose a reason for hiding this comment

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

typo

Suggested change
* @param {string} source - If {@code 'search'}, the parameters will parsed out
* @param {string} source - If {@code 'search'}, the parameters will be parsed out

d3473r pushed a commit to d3473r/jitsi-meet-electron that referenced this pull request Sep 1, 2023
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.

JSON.parse for URL-Params missing
4 participants