diff options
Diffstat (limited to 'vendor/github.com/matterbridge/gomatrix/responses.go')
-rw-r--r-- | vendor/github.com/matterbridge/gomatrix/responses.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/github.com/matterbridge/gomatrix/responses.go b/vendor/github.com/matterbridge/gomatrix/responses.go index fe0eeb32..7a3a4ce3 100644 --- a/vendor/github.com/matterbridge/gomatrix/responses.go +++ b/vendor/github.com/matterbridge/gomatrix/responses.go @@ -84,7 +84,7 @@ type RespUserInteractive struct { Stages []string `json:"stages"` } `json:"flows"` Params map[string]interface{} `json:"params"` - Session string `json:"string"` + Session string `json:"session"` Completed []string `json:"completed"` ErrCode string `json:"errcode"` Error string `json:"error"` @@ -168,6 +168,7 @@ type RespSync struct { } `json:"rooms"` } +// RespTurnServer is the JSON response from a Turn Server type RespTurnServer struct { Username string `json:"username"` Password string `json:"password"` |