diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2021-05-18 20:04:39 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2021-05-19 19:29:56 +0300 |
commit | 45c42268190e85a206445164b8986a1f859c9c03 (patch) | |
tree | 360401f41a712080cca802571a4fc037f873fecc /src/utils/signaling.js | |
parent | 2cb9d9625dcd5c2655fa97769d7e69c6697e112c (diff) |
Remove previous versions for signaling endpoints
The mobile apps will need to adjust to the new version (note that only
the signaling settings endpoint actually changed), but they will not be
compatible with Talk < 12 anyway due to the changes in the conversation
endpoints.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'src/utils/signaling.js')
-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 1c2a8e62e..8c19031b5 100644 --- a/src/utils/signaling.js +++ b/src/utils/signaling.js @@ -362,7 +362,7 @@ Signaling.Internal.prototype._sendMessageWithCallback = function(ev) { } Signaling.Internal.prototype._sendMessages = function(messages) { - return axios.post(generateOcsUrl('apps/spreed/api/v1/signaling/{token}', { token: this.currentRoomToken }), { + return axios.post(generateOcsUrl('apps/spreed/api/v3/signaling/{token}', { token: this.currentRoomToken }), { messages: JSON.stringify(messages), }) } @@ -818,7 +818,7 @@ Signaling.Standalone.prototype.sendHello = function() { } else { // Already reconnected with a new session. this._forceReconnect = false - const url = generateOcsUrl('apps/spreed/api/v1/signaling/backend') + const url = generateOcsUrl('apps/spreed/api/v3/signaling/backend') msg = { 'type': 'hello', 'hello': { |