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
path: root/src
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2021-12-10 15:32:56 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2021-12-10 15:32:56 +0300
commitf1c9471dc94399e8c4bd6e373329da4d5e498a38 (patch)
tree8cd37f6c26225bc8e54a29ea78d0946d4d9a3697 /src
parentc3d0782f539f4af481465e3f612a88385a3c095f (diff)
Revert "Use something more stable so we don't toggle the chatIdentifier when the participant list is reloaded"
This reverts commit 7d61dad0ddf2c1908cbee7b1cd61328ca0291d17. "chatIdentifier" is used to start getting the messages, or cancel an existing request. "isParticipant" needs to be taken into account in the property, as it is one of the preconditions checked in "handleStartGettingMessagesPreconditions". Moreover, "isParticipant" should not be switching between "false" and "true" when the participant list is updated; this is a regression introduced in a different commit that will be fixed afterwards.
Diffstat (limited to 'src')
-rw-r--r--src/components/MessagesList/MessagesList.vue6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/components/MessagesList/MessagesList.vue b/src/components/MessagesList/MessagesList.vue
index 602d7b20f..4cd449230 100644
--- a/src/components/MessagesList/MessagesList.vue
+++ b/src/components/MessagesList/MessagesList.vue
@@ -220,16 +220,12 @@ export default {
return !!this.$store.getters.findParticipant(this.token, this.$store.getters.getParticipantIdentifier())
},
- getAttendeeId() {
- return this.$store.getters.getAttendeeId()
- },
-
conversation() {
return this.$store.getters.conversation(this.token)
},
chatIdentifier() {
- return this.token + ':' + this.getAttendeeId + ':' + this.isInLobby + ':' + this.viewId
+ return this.token + ':' + this.isParticipant + ':' + this.isInLobby + ':' + this.viewId
},
scrollToBottomAriaLabel() {