mirror of
https://github.com/strukturag/nextcloud-spreed-signaling.git
synced 2023-10-21 07:33:40 -05:00
Add hello version "2.0" that authenticates connections using a JWT.
This commit is contained in:
+1
-1
@@ -142,7 +142,7 @@ type HelloProxyClientMessage struct {
|
||||
}
|
||||
|
||||
func (m *HelloProxyClientMessage) CheckValid() error {
|
||||
if m.Version != HelloVersion {
|
||||
if m.Version != HelloVersionV1 {
|
||||
return fmt.Errorf("unsupported hello version: %s", m.Version)
|
||||
}
|
||||
if m.ResumeId == "" {
|
||||
|
||||
Reference in New Issue
Block a user