diff options
author | Till <2353100+S7evinK@users.noreply.github.com> | 2023-05-24 12:14:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-24 12:14:42 +0200 |
commit | 11b557097c6745309c09b58f681080d3fcc4f9f5 (patch) | |
tree | d721e47a4cd169539d759131a22f5d6e4e16b584 /clientapi | |
parent | 5d6221d1917c3494fed57e055e46928aaa4b5bda (diff) |
Drop `reference_sha` column (#3083)
Companion PR to https://github.com/matrix-org/gomatrixserverlib/pull/383
Diffstat (limited to 'clientapi')
-rw-r--r-- | clientapi/routing/createroom.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/routing/createroom.go b/clientapi/routing/createroom.go index bc960006..7a7a85e8 100644 --- a/clientapi/routing/createroom.go +++ b/clientapi/routing/createroom.go @@ -470,7 +470,7 @@ func createRoom( } } if i > 0 { - builder.PrevEvents = []gomatrixserverlib.EventReference{builtEvents[i-1].EventReference()} + builder.PrevEvents = []string{builtEvents[i-1].EventID()} } var ev gomatrixserverlib.PDU if err = builder.AddAuthEvents(&authEvents); err != nil { |