From 2a37c0a41d14f42f8a92cbc67f28fb3ff03ee99d Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 8 Nov 2017 22:31:00 +0000 Subject: [PATCH] add handler comment Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/github.com/matrix-org/dendrite/clientapi/routing/voip.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/github.com/matrix-org/dendrite/clientapi/routing/voip.go b/src/github.com/matrix-org/dendrite/clientapi/routing/voip.go index d3212c4ed..e699a91f2 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/routing/voip.go +++ b/src/github.com/matrix-org/dendrite/clientapi/routing/voip.go @@ -36,6 +36,8 @@ type turnServerResponse struct { TTL int `json:"ttl"` } +// RequestTurnServer implements: +// GET /voip/turnServer func RequestTurnServer(req *http.Request, device *authtypes.Device, cfg config.Dendrite) util.JSONResponse { turnConfig := cfg.TURN