fix: Retry message

This commit is contained in:
Muhsin Keloth
2023-10-19 16:47:18 +05:30
parent b94c89ebf1
commit f2171ffa76
@@ -492,7 +492,10 @@ export default {
this.showContextMenu = !this.showContextMenu;
},
async retrySendMessage() {
await this.$store.dispatch('sendMessageWithData', this.data);
await this.$store.dispatch('sendMessageWithData', {
conversationId: this.data.conversation_id,
...this.data,
});
},
onImageLoadError() {
this.hasImageError = true;