diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2020-05-19 06:18:19 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2020-05-19 06:18:19 +0300 |
commit | cb7e6d55f9138404886be819984c4097b31cbb59 (patch) | |
tree | d208c8539e0f238d52cb7acef885a59d3404a46a /src/utils/signaling.js | |
parent | 533bd5fc04cc0adf224a88b540be7c49757f2742 (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.js | 10 |
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 |