From d1805733feb8c48a7286eb1affc1f98ed1a044a8 Mon Sep 17 00:00:00 2001 From: Jesse Hallam Date: Thu, 18 Oct 2018 13:49:10 -0400 Subject: MM-12505: remove all things WebRTC (#9700) --- model/client4.go | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'model/client4.go') diff --git a/model/client4.go b/model/client4.go index c5001c048..a9b4d3826 100644 --- a/model/client4.go +++ b/model/client4.go @@ -3370,19 +3370,6 @@ func (c *Client4) UpdateUserStatus(userId string, userStatus *Status) (*Status, } } -// Webrtc Section - -// GetWebrtcToken returns a valid token, stun server and turn server with credentials to -// use with the Mattermost WebRTC service. -func (c *Client4) GetWebrtcToken() (*WebrtcInfoResponse, *Response) { - if r, err := c.DoApiGet("/webrtc/token", ""); err != nil { - return nil, BuildErrorResponse(r, err) - } else { - defer closeBody(r) - return WebrtcInfoResponseFromJson(r.Body), BuildResponse(r) - } -} - // Emoji Section // CreateEmoji will save an emoji to the server if the current user has permission -- cgit v1.2.3-1-g7c22