Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-05-26 20:37:44 +0300
committerJoas Schilling <coding@schilljs.com>2020-05-26 20:37:44 +0300
commit55851fbe8275df8933262b7a9f0760d248b54714 (patch)
tree92a73a4943acb63340d3e4bd29b94e468deb4896 /src/utils/signaling.js
parent5e67921f8054f3707f0cf4abd7deecbc6be49a10 (diff)
Replace deprecated OC.redirect() with the correct way to redirect
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/utils/signaling.js')
-rw-r--r--src/utils/signaling.js2
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)
})
})
}