Skip to content

multiple calls to directline/conversations #2761

@prashanthsridhar

Description

@prashanthsridhar

Screenshots

image

image

Version

CDN 4.7

Describe the bug

There are multple calls being made to directline/conversation

Steps to reproduce

`

   window.WebChat.renderWebChat(
  {

    userID: sessionStorage.getItem('email'),
    username: sessionStorage.getItem('username'),
    locale: 'en-GB',
    

    directLine: directLine,


    styleOptions,
    groupTimestamp,
    selectVoice: () => ({ voiceURI: 'Custom Voice' }),
    webSpeechPonyfillFactory: options => {
      var { SpeechGrammarList, SpeechRecognition } = speechToTextPonyfillFactory(options);
      var { speechSynthesis, SpeechSynthesisUtterance } = textToSpeechPonyfillFactory(options);
      return {
        SpeechGrammarList,
        SpeechRecognition,
        speechSynthesis,
        SpeechSynthesisUtterance
      };
    }
  },
  this.botWindowElement.nativeElement
);

`

Expected behavior

Ideally one call should be made

Additional context

We are using an angular app .

[Bug]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.customer-replied-toRequired for internal reporting. Do not delete.customer-reportedRequired for internal Azure reporting. Do not delete.questionFurther information is requested. Stack Overflow candidate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions