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:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2020-05-12 19:46:09 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2020-05-12 19:46:09 +0300
commitd87088cb3afc3ca0991aeb5f876f6781ecfd5445 (patch)
tree37f27761869a4bd928c772c8c03ca35288613504 /src/utils/signaling.js
parentb73a1674746ab9f5feef6e7e1eaf176b72b1863d (diff)
Replace "OC.generateUrl" with "generateUrl"
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'src/utils/signaling.js')
-rw-r--r--src/utils/signaling.js4
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))
})
})
}