Merge pull request #1300 from thecodingmachine/remove_search_args_from_room_url

Removing the 'search' parameters from the room URL sent to pusher
This commit is contained in:
David Négrier 2021-07-20 18:42:18 +02:00 committed by GitHub
commit 78524e64bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -169,6 +169,7 @@ export class Room {
*/
public get key(): string {
const newUrl = new URL(this.roomUrl.toString());
newUrl.search = "";
newUrl.hash = "";
return newUrl.toString();
}