diff options
2 files changed, 2 insertions, 1 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.spec.js b/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.spec.js index d14ba74b9..33721a429 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.spec.js +++ b/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.spec.js @@ -102,7 +102,7 @@ describe('MessageButtonsBar.vue', () => { systemMessage: '', timestamp: new Date('2020-05-07 09:23:00').getTime() / 1000, token: TOKEN, - previousMessageId: 12, + previousMessageId: 100, }) }) diff --git a/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue b/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue index cc73f1e59..6daa33ff0 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue @@ -355,6 +355,7 @@ export default { message: this.message, messageParameters: this.messageParameters, token: this.token, + previousMessageId: this.previousMessageId, }) EventBus.$emit('focus-chat-input') }, |