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:
commit
78524e64bd
@ -169,6 +169,7 @@ export class Room {
|
|||||||
*/
|
*/
|
||||||
public get key(): string {
|
public get key(): string {
|
||||||
const newUrl = new URL(this.roomUrl.toString());
|
const newUrl = new URL(this.roomUrl.toString());
|
||||||
|
newUrl.search = "";
|
||||||
newUrl.hash = "";
|
newUrl.hash = "";
|
||||||
return newUrl.toString();
|
return newUrl.toString();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user