diff options
author | Jesse Hallam <jesse.hallam@gmail.com> | 2018-10-18 13:49:10 -0400 |
---|---|---|
committer | Elias Nahum <nahumhbl@gmail.com> | 2018-10-18 14:49:10 -0300 |
commit | d1805733feb8c48a7286eb1affc1f98ed1a044a8 (patch) | |
tree | 9c141e10210e68686173a9f093a383d26792f276 /model/client4.go | |
parent | a708c33520e327487fd2dc05eaab3563c8161fb7 (diff) | |
download | chat-d1805733feb8c48a7286eb1affc1f98ed1a044a8.tar.gz chat-d1805733feb8c48a7286eb1affc1f98ed1a044a8.tar.bz2 chat-d1805733feb8c48a7286eb1affc1f98ed1a044a8.zip |
MM-12505: remove all things WebRTC (#9700)
Diffstat (limited to 'model/client4.go')
-rw-r--r-- | model/client4.go | 13 |
1 files changed, 0 insertions, 13 deletions
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 |