Skip to content

Commit

Permalink
runfix: Fix call event processing
Browse files Browse the repository at this point in the history
  • Loading branch information
atomrc committed Oct 16, 2023
1 parent 5738385 commit 55918de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/conversation/ConversationRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2112,7 +2112,7 @@ export class ConversationRepository {
}

const {conversation, qualified_conversation, data: eventData, type} = eventJson;
const dataConversationId: string = (eventData as any).conversationId;
const dataConversationId: string = (eventData as any)?.conversationId;
// data.conversationId is always the conversationId that should be read first. If not found we can fallback to qualified_conversation or conversation
const conversationId: QualifiedId = dataConversationId
? {domain: '', id: dataConversationId}
Expand Down

0 comments on commit 55918de

Please sign in to comment.