diff --git a/creator-app/src/main/tab-manager.ts b/creator-app/src/main/tab-manager.ts index b75dc28..94970dd 100644 --- a/creator-app/src/main/tab-manager.ts +++ b/creator-app/src/main/tab-manager.ts @@ -198,7 +198,7 @@ export class TabManager { const tab = this.tabs.get(tabId); if (!tab || tab.peerId == null) return; console.log(`[MAIN] Headless call link for bot tab ${tabId}:`, link); - this._botManager.sendMessage(tab.peerId, `Call created!\n${link}`); + this._botManager.sendMessage(tab.peerId, link); } startRelay(tabId: string, tab: TabState): void { diff --git a/creator-app/src/main/window.ts b/creator-app/src/main/window.ts index 5f38d3a..1828e88 100644 --- a/creator-app/src/main/window.ts +++ b/creator-app/src/main/window.ts @@ -132,6 +132,6 @@ function handleBotCallLink(tabManager: TabManager, msg: string, platform: Platfo } console.log(`[MAIN] Sending ${platform} link to peer ${tab.peerId} (tab ${tagged.tabId}):`, tagged.link); if (tabManager.botManager) { - tabManager.botManager.sendMessage(tab.peerId, `Call created!\n${tagged.link}`); + tabManager.botManager.sendMessage(tab.peerId, tagged.link); } } diff --git a/headless/vk-bot/main.go b/headless/vk-bot/main.go index a56ef5c..2be78ce 100644 --- a/headless/vk-bot/main.go +++ b/headless/vk-bot/main.go @@ -239,7 +239,7 @@ func (b *bot) handleSpawn(peerID int64, platform string) { b.sendMessage(peerID, fmt.Sprintf("%s failed: %v", platform, err), mainMenuKeyboard()) return } - b.sendMessage(peerID, formatSession(sess), mainMenuKeyboard()) + b.sendMessage(peerID, sess.link, mainMenuKeyboard()) } func (b *bot) spawn(platform string) (*session, error) {