forked from Mirrors/gomuks
hicli/database: fix mass inserting state
This commit is contained in:
parent
d3b93327f2
commit
de405f9661
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ func (e *Event) GetMassInsertValues() [9]any {
|
||||||
return [9]any{
|
return [9]any{
|
||||||
e.ID, e.Sender, e.Type, e.StateKey, e.Timestamp.UnixMilli(),
|
e.ID, e.Sender, e.Type, e.StateKey, e.Timestamp.UnixMilli(),
|
||||||
unsafeJSONString(e.Content), unsafeJSONString(e.Unsigned),
|
unsafeJSONString(e.Content), unsafeJSONString(e.Unsigned),
|
||||||
e.TransactionID, e.RedactedBy,
|
dbutil.StrPtr(e.TransactionID), dbutil.StrPtr(e.RedactedBy),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue