diff options
-rw-r--r-- | src/components/CallView/shared/ReactionToaster.vue | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/components/CallView/shared/ReactionToaster.vue b/src/components/CallView/shared/ReactionToaster.vue index c329f8087..9b0d0c743 100644 --- a/src/components/CallView/shared/ReactionToaster.vue +++ b/src/components/CallView/shared/ReactionToaster.vue @@ -120,10 +120,10 @@ export default { methods: { handleOwnReaction({ model, reaction }) { - this.handleReaction(model, reaction) + this.handleReaction(model, reaction, true) }, - handleReaction(model, reaction) { + handleReaction(model, reaction, isLocalModel = false) { // prevent spamming to queue from a single account if (this.reactionsQueue.some(item => item.id === model.attributes.peerId)) { return @@ -137,7 +137,9 @@ export default { this.reactionsQueue.push({ id: model.attributes.peerId, reaction, - name: this.getParticipantName(model), + name: isLocalModel + ? this.$store.getters.getDisplayName() + : this.getParticipantName(model), seed: Math.random(), }) }, |