1
0
Fork 0
forked from Mirrors/gomuks

hicli/database: fix mass inserting state

This commit is contained in:
Tulir Asokan 2024-11-13 20:44:43 +02:00
parent d3b93327f2
commit de405f9661

View file

@ -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),
} }
} }