aboutsummaryrefslogtreecommitdiff
path: root/clientapi
diff options
context:
space:
mode:
authorBehouba Manassé <behouba@gmail.com>2020-04-22 16:13:11 +0300
committerGitHub <noreply@github.com>2020-04-22 14:13:11 +0100
commit423c656146579daac1e6739ef05b4b79f4c5b611 (patch)
tree03feceea444fe798bc703c830304f3454217811d /clientapi
parenta466e9e9cc86e04b4d28de45cd44199916664768 (diff)
Response from /send_join now use gomatrixserverlib.RespSendJoin (#796)
* response from /send_join now use gomatrixserverlib.RespSendJoin * Update Dendrite gomatrixserverlib version * Fix spelling Co-authored-by: Andrew Morgan <andrew@amorgan.xyz> Co-authored-by: Cnly <minecnly@gmail.com> Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Diffstat (limited to 'clientapi')
-rw-r--r--clientapi/routing/joinroom.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/routing/joinroom.go b/clientapi/routing/joinroom.go
index f72bb916..d0dee7c2 100644
--- a/clientapi/routing/joinroom.go
+++ b/clientapi/routing/joinroom.go
@@ -386,7 +386,7 @@ func (r joinRoomReq) joinRoomUsingServer(roomID string, server gomatrixserverlib
if err = r.producer.SendEventWithState(
r.req.Context(),
- gomatrixserverlib.RespState(respSendJoin.RespState),
+ respSendJoin.ToRespState(),
event.Headered(respMakeJoin.RoomVersion),
); err != nil {
util.GetLogger(r.req.Context()).WithError(err).Error("r.producer.SendEventWithState")