KamoCRM

Remove duplicate connectStomp call in sendMessage

Fixkamo-marketing
Shipped
25 ஏப்ரல், 2026 அன்று 5:59 PM UTC
Author
Kamo
Commit
54bb5fb

When the first message creates a new session, onSessionCreated updates props which triggers useEffect to call connectStomp. The inline call in sendMessage was redundant and would be immediately killed by the useEffect's disconnectStomp.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing