mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 14:33:10 -06:00
Fix assignStateKeyNID
This commit is contained in:
parent
68a212f5ef
commit
30034b38dd
|
|
@ -97,7 +97,7 @@ func (d *Database) assignStateKeyNID(eventStateKey string) (eventStateKeyNID int
|
|||
return
|
||||
}
|
||||
if eventStateKeyNID == 0 {
|
||||
return d.statements.insertEventTypeNID(eventStateKey)
|
||||
return d.statements.insertEventStateKeyNID(eventStateKey)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue