aboutsummaryrefslogtreecommitdiff
path: root/syncapi/storage/sqlite3
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-04-26 16:02:21 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2022-04-26 16:02:21 +0100
commit6892e0f0e02466be3cac6fc6f17267aeecb5961b (patch)
tree5550b2ccf5a7441a32306b243c3766430ba0d1e3 /syncapi/storage/sqlite3
parent4c19f22725b8f534163ad37845650005b32172ad (diff)
Start account data ID from `from`
Diffstat (limited to 'syncapi/storage/sqlite3')
-rw-r--r--syncapi/storage/sqlite3/account_data_table.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/storage/sqlite3/account_data_table.go b/syncapi/storage/sqlite3/account_data_table.go
index e0d97ec3..d84159ac 100644
--- a/syncapi/storage/sqlite3/account_data_table.go
+++ b/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 {