diff --git a/zenoh-ts/examples/chat/src/main.ts b/zenoh-ts/examples/chat/src/main.ts index 01f8e47..d638a4a 100644 --- a/zenoh-ts/examples/chat/src/main.ts +++ b/zenoh-ts/examples/chat/src/main.ts @@ -113,6 +113,9 @@ class ChatSession { this.queryable = null; this.liveliness_subscriber = null; this.users = []; + if (this.usersCallback) { + this.usersCallback([]); + } } } }