feat: added reply, delete and message reaction in chatwoot v3.3.1

This commit is contained in:
Davidson Gomes 2023-12-12 15:24:54 -03:00
parent ae66be197e
commit 1568554a1c
2 changed files with 10 additions and 0 deletions

View File

@ -26,6 +26,11 @@
* Added restart instance when update profile picture
* Correction of chatwoot functioning with admin flows
### Integrations
- Chatwoot: v3.3.1
- Typebot: v2.16.0
# 1.5.4 (2023-10-09 20:43)
### Fixed

View File

@ -43,6 +43,11 @@ const messageSchema = new Schema<MessageRaw>({
chatwootMessageId: { type: String, required: false },
});
messageSchema.index({ chatwootMessageId: 1, owner: 1 });
messageSchema.index({ 'key.id': 1 });
messageSchema.index({ 'key.id': 1, owner: 1 });
messageSchema.index({ owner: 1 });
export const MessageModel = dbserver?.model(MessageRaw.name, messageSchema, 'messages');
export type IMessageModel = typeof MessageModel;