mirror of
https://github.com/openlibrecommunity/olcrtc.git
synced 2026-06-01 22:18:52 +02:00
fix: golangci
This commit is contained in:
+3
-3
@@ -352,8 +352,8 @@ func normalizeTransport(value string) string {
|
||||
}
|
||||
|
||||
func normalizeCarrier(carrierName string) string {
|
||||
if carrierName == "wbstream" {
|
||||
return "wbstream"
|
||||
if carrierName == carrierWBStream {
|
||||
return carrierWBStream
|
||||
}
|
||||
return carrierName
|
||||
}
|
||||
@@ -367,7 +367,7 @@ func buildRoomURL(carrierName, roomID string) string {
|
||||
return "any"
|
||||
}
|
||||
return roomID
|
||||
case "wbstream":
|
||||
case carrierWBStream:
|
||||
return roomID
|
||||
default:
|
||||
return roomID
|
||||
|
||||
Reference in New Issue
Block a user