diff --git a/index.js b/index.js index bd27153..44b93cf 100644 --- a/index.js +++ b/index.js @@ -80,6 +80,12 @@ async function dispatchUiMessage (platform, msg, hooks = {}) { } if (t === 'join-public-discovery') { await platform.joinPublicDiscovery(msg.inviteCode) + if (platform.activeChannelId) { + send({ + type: 'composer-focus-channel', + channelId: platform.activeChannelId + }) + } pushState() return true }