PLT-4550 move webrtc to TE (#4440)
* PLT-4550 move webrtc to TE * remove webrtc from makefile enterprise tests
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
6289c72686
Коммит
772b57386f
12
api/user.go
12
api/user.go
@@ -750,9 +750,7 @@ func RevokeSessionById(c *Context, sessionId string) {
|
||||
}
|
||||
}
|
||||
|
||||
if webrtcInterface := einterfaces.GetWebrtcInterface(); webrtcInterface != nil {
|
||||
webrtcInterface.RevokeToken(session.Id)
|
||||
}
|
||||
RevokeWebrtcToken(session.Id)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -776,9 +774,7 @@ func RevokeAllSession(c *Context, userId string) {
|
||||
}
|
||||
}
|
||||
|
||||
if webrtcInterface := einterfaces.GetWebrtcInterface(); webrtcInterface != nil {
|
||||
webrtcInterface.RevokeToken(session.Id)
|
||||
}
|
||||
RevokeWebrtcToken(session.Id)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -801,9 +797,7 @@ func RevokeAllSessionsNoContext(userId string) *model.AppError {
|
||||
}
|
||||
}
|
||||
|
||||
if webrtcInterface := einterfaces.GetWebrtcInterface(); webrtcInterface != nil {
|
||||
webrtcInterface.RevokeToken(session.Id)
|
||||
}
|
||||
RevokeWebrtcToken(session.Id)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
||||
Ссылка в новой задаче
Block a user