Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.
This repository was archived by the owner on May 13, 2025. It is now read-only.

Found some Syntax Errors #9

@Barathiraja

Description

@Barathiraja

Hi,

I have Found Following Syntax Errors in the module.

First One:
conversationsClient.listen().then(clientConnected, function (error) {
look at the above line. here, the function clientConnected is called without parenthesis

and the Right way is
conversationsClient.listen().then( clientConnected() , function (error) {

Second One:
conversationsClient.inviteToConversation(inviteTo, options).then(conversationStarted, function (error) {

Here, the function conversationStarted is called without parenthesis, also parameter conversation is not passed

and the Right way is
conversationsClient.inviteToConversation(inviteTo, options).then(conversationStarted(conversationParameter), function (error) {

and I don't know what to pass as conversationParameter. If anyone knows, Please let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions