diff options
author | Joas Schilling <coding@schilljs.com> | 2020-05-26 19:37:44 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-05-26 19:37:44 +0200 |
commit | 55851fbe8275df8933262b7a9f0760d248b54714 (patch) | |
tree | 92a73a4943acb63340d3e4bd29b94e468deb4896 /src/utils | |
parent | 5e67921f8054f3707f0cf4abd7deecbc6be49a10 (diff) |
Replace deprecated OC.redirect() with the correct way to redirect
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/signaling.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/signaling.js b/src/utils/signaling.js index 8ebd2ede7..133292930 100644 --- a/src/utils/signaling.js +++ b/src/utils/signaling.js @@ -253,7 +253,7 @@ Signaling.Base.prototype.joinCall = function(token, flags) { // Server maintenance, lobby kicked in, or room not found. // We first redirect to the conversation again and that // will then show the proper error message to the user. - OC.redirect(generateUrl('call/' + token)) + window.location = generateUrl('call/' + token) }) }) } |