File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 2626* Added restart instance when update profile picture
2727* Correction of chatwoot functioning with admin flows
2828
29+ ### Integrations
30+
31+ - Chatwoot: v3.3.1
32+ - Typebot: v2.16.0
33+
2934# 1.5.4 (2023-10-09 20:43)
3035
3136### Fixed
Original file line number Diff line number Diff line change @@ -43,6 +43,11 @@ const messageSchema = new Schema<MessageRaw>({
4343 chatwootMessageId : { type : String , required : false } ,
4444} ) ;
4545
46+ messageSchema . index ( { chatwootMessageId : 1 , owner : 1 } ) ;
47+ messageSchema . index ( { 'key.id' : 1 } ) ;
48+ messageSchema . index ( { 'key.id' : 1 , owner : 1 } ) ;
49+ messageSchema . index ( { owner : 1 } ) ;
50+
4651export const MessageModel = dbserver ?. model ( MessageRaw . name , messageSchema , 'messages' ) ;
4752export type IMessageModel = typeof MessageModel ;
4853
You can’t perform that action at this time.
0 commit comments