migrate to vk.ru, temporarily disable dual vp8 for vk
This commit is contained in:
1 parent
f4714f93d6
commit
e6502a4ac4
16 files changed
+31
-31
No files matched your search
@@ -21,7 +21,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
vkAPIBase = "https://api.vk.com/method"
|
||||
vkAPIBase = "https://api.vk.ru/method"
|
||||
vkAPIVersion = "5.199"
|
||||
pollWait = 25
|
||||
retryDelay = 3 * time.Second
|
||||
@@ -272,7 +272,7 @@ func detectJoinLink(text string) (platform, target string, ok bool) {
|
||||
return "tm", trimmed, true
|
||||
case strings.HasPrefix(lower, "dion://"), strings.Contains(lower, "dion.vc"):
|
||||
return "dion", trimmed, true
|
||||
case strings.Contains(lower, "vk.com/call/join"):
|
||||
case strings.Contains(lower, "vk.ru/call/join"):
|
||||
return "vk", trimmed, true
|
||||
}
|
||||
return "", "", false
|
||||
|
||||
Reference in new issue
Block a user