From 254b207a9225b5c31bb2d2c6d2379a8687e8ba08 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Wed, 29 Mar 2017 15:46:51 +0100 Subject: [PATCH] Docs --- .../dendrite/clientapi/storage/output_room_events_table.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/clientapi/storage/output_room_events_table.go b/src/github.com/matrix-org/dendrite/clientapi/storage/output_room_events_table.go index 45b89b3f9..69f54e55c 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/storage/output_room_events_table.go +++ b/src/github.com/matrix-org/dendrite/clientapi/storage/output_room_events_table.go @@ -42,7 +42,7 @@ func (s *outputRoomEventsStatements) prepare(db *sql.DB) (err error) { return } -// InsertEvent into the output_room_events table. +// InsertEvent into the output_room_events table. addState and removeState are an optional list of state event IDs. func (s *outputRoomEventsStatements) InsertEvent(roomID string, eventJSON []byte, addState, removeState []string) error { _, err := s.insertEventStmt.Exec(roomID, eventJSON, pq.StringArray(addState), pq.StringArray(removeState)) return err