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-19 06:18:19 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2020-05-19 06:18:19 +0300
commitcb7e6d55f9138404886be819984c4097b31cbb59 (patch)
treed208c8539e0f238d52cb7acef885a59d3404a46a /src/utils/signaling.js
parent533bd5fc04cc0adf224a88b540be7c49757f2742 (diff)
Do not fetch all conversations when joining or leaving a call
When the current user joins or leaves a call there is no need to fetch all the conversations, but just the current conversation and the participants. As when any user, including the current one, joins or leaves a call a room participants update event is sent by the external signaling server the current conversation and the participants are already gotten, so it is not needed to add an explicit handling for that. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'src/utils/signaling.js')
-rw-r--r--src/utils/signaling.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/utils/signaling.js b/src/utils/signaling.js
index 0c48c817a..c15ac82be 100644
--- a/src/utils/signaling.js
+++ b/src/utils/signaling.js
@@ -940,16 +940,6 @@ Signaling.Standalone.prototype.joinCall = function(token, flags) {
Signaling.Base.prototype.joinCall.apply(this, arguments)
}
-Signaling.Standalone.prototype._joinCallSuccess = function(/* token */) {
- // Update room list to fetch modified properties.
- EventBus.$emit('shouldRefreshConversations')
-}
-
-Signaling.Standalone.prototype._leaveCallSuccess = function(/* token */) {
- // Update room list to fetch modified properties.
- EventBus.$emit('shouldRefreshConversations')
-}
-
Signaling.Standalone.prototype.joinResponseReceived = function(data, token) {
console.debug('Joined', data, token)
this.signalingRoomJoined = token