diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2020-05-12 19:46:09 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2020-05-12 19:46:09 +0300 |
commit | d87088cb3afc3ca0991aeb5f876f6781ecfd5445 (patch) | |
tree | 37f27761869a4bd928c772c8c03ca35288613504 | |
parent | b73a1674746ab9f5feef6e7e1eaf176b72b1863d (diff) |
Replace "OC.generateUrl" with "generateUrl"
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
-rw-r--r-- | src/utils/signaling.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/signaling.js b/src/utils/signaling.js index 5ac5d4a8c..2791b9c3a 100644 --- a/src/utils/signaling.js +++ b/src/utils/signaling.js @@ -31,7 +31,7 @@ import { rejoinConversation } from '../services/participantsService' import CancelableRequest from './cancelableRequest' import { EventBus } from '../services/EventBus' import axios from '@nextcloud/axios' -import { generateOcsUrl } from '@nextcloud/router' +import { generateOcsUrl, generateUrl } from '@nextcloud/router' import { showError, showWarning, @@ -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(OC.generateUrl('call/' + token)) + OC.redirect(generateUrl('call/' + token)) }) }) } |