Refactor Conversation, Message API calls, store

This commit is contained in:
Pranav Raj Sreepuram
2019-10-27 19:01:59 +05:30
parent c21c839dca
commit 170f8716c5
13 changed files with 215 additions and 402 deletions

View File

@@ -216,7 +216,7 @@ export default {
this.isLoadingPrevious = true;
this.$store
.dispatch('fetchPreviousMessages', {
id: this.currentChat.id,
conversationId: this.currentChat.id,
before: this.getMessages.messages[0].id,
})
.then(() => {