Skip to content

Commit

Permalink
fix: wrong recent noted call condition (#952)
Browse files Browse the repository at this point in the history
  • Loading branch information
embbnux authored Dec 30, 2024
1 parent 42641b1 commit 5589c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/SmartNotes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class SmartNotes extends RcModuleV2 {
return;
}
if (this.session?.id === webphoneSession.partyData.sessionId) {
if (this._smartNoteClient && this._smartNoteClient.transcriptions.length > 0) {
if (this._smartNoteClient && this._smartNoteClient.transcriptions.length > 1) {
this.addRecentNotedCall(this.session.id);
}
this.setSession({
Expand Down

0 comments on commit 5589c3d

Please sign in to comment.