I'm using "client.on("ticket.conversation.changed", func)" in my app, to capture the conversation changes..
But, I'm facing some issues in that..
That function triggers multiple times, when a single message came..
(ie), When user sends a message means, that function triggers multiple times (sometimes more than 40 times), so that it captures the conversation data multiple times.. Therefore, It slows down my app functionality..
So, I need to control that triggering event only once, when new message came or any conversation changes happen..
Can you please suggest any ideas to control or off that conversation listener, when function not called.. I just tried with "client.off("ticket.conversation.changed")", But, its not working..
Looking forward for solutions..
Please sign in to leave a comment.