# When a chat message onUserJoin() call back event is sent using Windows SDK, it is not received

**URL:** <https://devforum.zoom.us/t/when-a-chat-message-onuserjoin-call-back-event-is-sent-using-windows-sdk-it-is-not-received/63283>\
**Category:** Windows\
**Created:** [January 27, 2022, 7:48am UTC](https://devforum.zoom.us/t/when-a-chat-message-onuserjoin-call-back-event-is-sent-using-windows-sdk-it-is-not-received/63283 "2022-01-27T07:48:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![randilu.soysa](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/randilu.soysa/32/33780_2.png) [@randilu.soysa](https://devforum.zoom.us/u/randilu.soysa)\
**Post date:** [January 27, 2022, 7:48am UTC](https://devforum.zoom.us/t/when-a-chat-message-onuserjoin-call-back-event-is-sent-using-windows-sdk-it-is-not-received/63283/1 "2022-01-27T07:48:28Z")

</div>

**Description**  
When a chat message onUserJoin() call back event is sent using Windows SDK, it is not received once a participant joins via zoom web client(browser). In here even though the message is visible as sent from the senders inbox, it is not visible/received in receivers inbox.

- Found that this works correctly only if a delay of 1 second is added to the callback when it is called (attached a sample code snippet).
- Found that it works as expected when a participant joins via zoom desktop application.

Much appreciated if someone can figure out the cause for this.

**Which Windows Meeting SDK version?**  
5.9.1.2625

**OS**  
Windows 10

**Additional context**

```auto
public void onUserJoin(uint[] userIds)
        {
            log.Info(string.Format("User Joined | userId: {0}", userIds[0]));
            // Added delay to mitigate zoom web client delay
            System.Threading.Thread.Sleep(1000);
            foreach (uint userId in userIds)
            {
                sendChatToIndividual(userId);
            }
        }

```

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [January 28, 2022, 10:48pm UTC](https://devforum.zoom.us/t/when-a-chat-message-onuserjoin-call-back-event-is-sent-using-windows-sdk-it-is-not-received/63283/2 "2022-01-28T22:48:11Z")

</div>

Hi @randilu.soysa,

After some testing, I was able to reproduce this behavior on Android and macOS in addition to Windows. This points towards it being an issue with the web client rather than the Windows SDK. For that reason, I would recommend reaching out to regular support through the [Help Center](https://support.zoom.us/hc/en-us).

Thanks!

---

<div class="post-metadata">

**Author:** ![randilu.soysa](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/randilu.soysa/32/33780_2.png) [@randilu.soysa](https://devforum.zoom.us/u/randilu.soysa)\
**Post date:** [January 31, 2022, 6:10am UTC](https://devforum.zoom.us/t/when-a-chat-message-onuserjoin-call-back-event-is-sent-using-windows-sdk-it-is-not-received/63283/3 "2022-01-31T06:10:40Z")

</div>

Thanks for the quick reply @jon.zoom cheers!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [January 31, 2022, 9:50pm UTC](https://devforum.zoom.us/t/when-a-chat-message-onuserjoin-call-back-event-is-sent-using-windows-sdk-it-is-not-received/63283/4 "2022-01-31T21:50:19Z")

</div>

You are very welcome, happy to help!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [January 31, 2022, 9:50pm UTC](https://devforum.zoom.us/t/when-a-chat-message-onuserjoin-call-back-event-is-sent-using-windows-sdk-it-is-not-received/63283/5 "2022-01-31T21:50:22Z")

</div>

Closed on January 31, 2022, 9:50pm UTC


