fix extra vk links disclosures

This commit is contained in:
kulikov0 committed 2026-07-24 15:37:02 +02:00
1 parent e6502a4ac4
commit 5103d87211
2 files changed
-2

No files matched your search

-1
View File
@@ -306,7 +306,6 @@ func createAndJoinCall(cookieStr, peerId string, cfg VKConfig) (*CallInfo, error
return nil, fmt.Errorf("empty ok_join_link, response: %s", string(r))
}
log.Printf("[auth] call_id: %s", c.CallID)
log.Printf("[auth] join_link: %s", c.JoinLink)
log.Println("[auth] Joining conversation...")
joinResp, err := authAndJoin(cookieStr, c.OKJoinLink, cfg)
@@ -129,7 +129,6 @@ func RunVKAuth(joinLink string, displayName string, logFn func(string, ...any),
if respObj, ok := previewResp["response"].(map[string]interface{}); ok {
if okLink, ok := respObj["ok_join_link"].(string); ok {
cfg.OkJoinLink = okLink
logFn("vk-auth: okJoinLink=%s", okLink)
}
}
}