Start account data ID from `from`
MODIFY
syncapi/storage/postgres/account_data_table.go
syncapi/storage/postgres/account_data_table.go
@@ -118,7 +118,7 @@ func (s *accountDataStatements) SelectAccountDataInRange(
var dataType string
var roomID string
- var id types.StreamPosition
+ id := r.From
for rows.Next() {
if err = rows.Scan(&id, &roomID, &dataType); err != nil {

MODIFY
syncapi/storage/sqlite3/account_data_table.go
syncapi/storage/sqlite3/account_data_table.go
@@ -114,7 +114,7 @@ func (s *accountDataStatements) SelectAccountDataInRange(
var dataType string
var roomID string
- var id types.StreamPosition
+ id := r.From
for rows.Next() {
if err = rows.Scan(&id, &roomID, &dataType); err != nil {

Start account data ID from `from`