Hi CometChat team — opening this issue first per contributing guidance to discuss the API need.
We need a reliable way to track new messages after initial load in an active DM thread.
Our flow is:
On chat open, fetch a small history window to establish baseline count.
After that, increment count in realtime for:
incoming messages
outgoing messages sent by the local user/device
Incoming events are fine, but we don’t have a dependable/supported outgoing “message sent” callback path in our JS SDK + Vue UI Kit integration for same-session sends.
Could you provide an official hook/callback for successful local sends (SDK or UI Kit), e.g.:
onMessageSent / onTextMessageSent (same device/session), or
Vue UI Kit emit like @message-sent from chat/composer.
This would let apps maintain accurate post-load counters without brittle workarounds (patching send methods, polling, DOM observers).
Stack
@cometchat/chat-sdk-javascript 4.x
@cometchat/chat-uikit-vue 4.x
Vue 3
DM chats
Please authenticate to join the conversation.
New
💡 Feature Request
Get notified by email when there are changes.
New
💡 Feature Request
Get notified by email when there are changes.