aboutsummaryrefslogtreecommitdiff
path: root/syncapi/storage/sqlite3/memberships_table.go
diff options
context:
space:
mode:
Diffstat (limited to 'syncapi/storage/sqlite3/memberships_table.go')
-rw-r--r--syncapi/storage/sqlite3/memberships_table.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/storage/sqlite3/memberships_table.go b/syncapi/storage/sqlite3/memberships_table.go
index a9e880d2..05f756fd 100644
--- a/syncapi/storage/sqlite3/memberships_table.go
+++ b/syncapi/storage/sqlite3/memberships_table.go
@@ -111,7 +111,7 @@ func (s *membershipsStatements) UpsertMembership(
}
_, err = sqlutil.TxStmt(txn, s.upsertMembershipStmt).ExecContext(
ctx,
- event.RoomID(),
+ event.RoomID().String(),
event.StateKeyResolved,
membership,
event.EventID(),