refac
This commit is contained in:
1 parent
c59b4cf379
commit
7969d8e8f3
4 files changed
+24
-20
No files matched your search
@@ -438,6 +438,12 @@
|
||||
window.addEventListener('message', onMessageHandler);
|
||||
$socket?.on('chat-events', chatEventHandler);
|
||||
|
||||
page.subscribe((page) => {
|
||||
if (page.url.pathname === '/') {
|
||||
initNewChat();
|
||||
}
|
||||
});
|
||||
|
||||
if (!$chatId) {
|
||||
chatIdUnsubscriber = chatId.subscribe(async (value) => {
|
||||
if (!value) {
|
||||
|
||||
Reference in new issue
Block a user