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:
-rw-r--r--appinfo/routes.php2
-rw-r--r--js/signaling.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 2198836cb..688bc7763 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -45,7 +45,7 @@ return [
],
[
'name' => 'Signaling#pullMessages',
- 'url' => '/api/{apiVersion}/messages',
+ 'url' => '/api/{apiVersion}/signaling',
'verb' => 'GET',
'requirements' => [
'apiVersion' => 'v1',
diff --git a/js/signaling.js b/js/signaling.js
index 71e54d4ae..277c3eb24 100644
--- a/js/signaling.js
+++ b/js/signaling.js
@@ -314,7 +314,7 @@
InternalSignaling.prototype._startPullingMessages = function() {
// Connect to the messages endpoint and pull for new messages
$.ajax({
- url: OC.linkToOCS('apps/spreed/api/v1', 2) + 'messages',
+ url: OC.linkToOCS('apps/spreed/api/v1', 2) + 'signaling',
type: 'GET',
dataType: 'json',
beforeSend: function (request) {