fix extra vk links disclosures
This commit is contained in:
1 parent
e6502a4ac4
commit
5103d87211
2 files changed
-2
No files matched your search
@@ -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))
|
return nil, fmt.Errorf("empty ok_join_link, response: %s", string(r))
|
||||||
}
|
}
|
||||||
log.Printf("[auth] call_id: %s", c.CallID)
|
log.Printf("[auth] call_id: %s", c.CallID)
|
||||||
log.Printf("[auth] join_link: %s", c.JoinLink)
|
|
||||||
|
|
||||||
log.Println("[auth] Joining conversation...")
|
log.Println("[auth] Joining conversation...")
|
||||||
joinResp, err := authAndJoin(cookieStr, c.OKJoinLink, cfg)
|
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 respObj, ok := previewResp["response"].(map[string]interface{}); ok {
|
||||||
if okLink, ok := respObj["ok_join_link"].(string); ok {
|
if okLink, ok := respObj["ok_join_link"].(string); ok {
|
||||||
cfg.OkJoinLink = okLink
|
cfg.OkJoinLink = okLink
|
||||||
logFn("vk-auth: okJoinLink=%s", okLink)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user