aboutsummaryrefslogtreecommitdiff
path: root/clientapi/routing/sendevent.go
diff options
context:
space:
mode:
authordevonh <devon.dmytro@gmail.com>2023-05-31 15:27:08 +0000
committerGitHub <noreply@github.com>2023-05-31 15:27:08 +0000
commitcbdc601f1b6d1c2a648b69ff44b3a49916f4d31a (patch)
tree6d14c55508579211e3833cab60cfdfea3fab04a6 /clientapi/routing/sendevent.go
parent61341aca500ec4d87e5b6d4c3f965c3836d6e6d6 (diff)
Move CreateRoom logic to Roomserver (#3093)
Move create room logic over to roomserver.
Diffstat (limited to 'clientapi/routing/sendevent.go')
-rw-r--r--clientapi/routing/sendevent.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/routing/sendevent.go b/clientapi/routing/sendevent.go
index bc14642f..1a2e25c9 100644
--- a/clientapi/routing/sendevent.go
+++ b/clientapi/routing/sendevent.go
@@ -293,7 +293,7 @@ func generateSendEvent(
}
var queryRes api.QueryLatestEventsAndStateResponse
- e, err := eventutil.QueryAndBuildEvent(ctx, &proto, cfg.Matrix, identity, evTime, rsAPI, &queryRes)
+ e, err := eventutil.QueryAndBuildEvent(ctx, &proto, identity, evTime, rsAPI, &queryRes)
switch specificErr := err.(type) {
case nil:
case eventutil.ErrRoomNoExists: