aboutsummaryrefslogtreecommitdiff
path: root/syncapi/storage/postgres/memberships_table.go
diff options
context:
space:
mode:
Diffstat (limited to 'syncapi/storage/postgres/memberships_table.go')
-rw-r--r--syncapi/storage/postgres/memberships_table.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/storage/postgres/memberships_table.go b/syncapi/storage/postgres/memberships_table.go
index 3905f9ab..09b47432 100644
--- a/syncapi/storage/postgres/memberships_table.go
+++ b/syncapi/storage/postgres/memberships_table.go
@@ -109,7 +109,7 @@ func (s *membershipsStatements) UpsertMembership(
_, err = sqlutil.TxStmt(txn, s.upsertMembershipStmt).ExecContext(
ctx,
event.RoomID(),
- *event.StateKey(),
+ event.StateKeyResolved,
membership,
event.EventID(),
streamPos,