summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/matterbridge/gomatrix/responses.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-10-26 23:31:44 +0200
committerGitHub <noreply@github.com>2019-10-26 23:31:44 +0200
commit0b9bc18236055fdb785a878b3a0f40f73102f8ef (patch)
tree4b267bad36e2995c85c64b4e3a4a59bd078336b9 /vendor/github.com/matterbridge/gomatrix/responses.go
parentbad3b83d339b5d3ec8cd69e11ee56e82e23737bb (diff)
downloadmatterbridge-msglm-0b9bc18236055fdb785a878b3a0f40f73102f8ef.tar.gz
matterbridge-msglm-0b9bc18236055fdb785a878b3a0f40f73102f8ef.tar.bz2
matterbridge-msglm-0b9bc18236055fdb785a878b3a0f40f73102f8ef.zip
Update vendor matterbridge/gomatrix fork (#928)
Diffstat (limited to 'vendor/github.com/matterbridge/gomatrix/responses.go')
-rw-r--r--vendor/github.com/matterbridge/gomatrix/responses.go3
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"`