mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Start account data ID from from
This commit is contained in:
parent
4c19f22725
commit
6892e0f0e0
2 changed files with 2 additions and 2 deletions
|
@ -118,7 +118,7 @@ func (s *accountDataStatements) SelectAccountDataInRange(
|
||||||
|
|
||||||
var dataType string
|
var dataType string
|
||||||
var roomID string
|
var roomID string
|
||||||
var id types.StreamPosition
|
id := r.From
|
||||||
|
|
||||||
for rows.Next() {
|
for rows.Next() {
|
||||||
if err = rows.Scan(&id, &roomID, &dataType); err != nil {
|
if err = rows.Scan(&id, &roomID, &dataType); err != nil {
|
||||||
|
|
|
@ -114,7 +114,7 @@ func (s *accountDataStatements) SelectAccountDataInRange(
|
||||||
|
|
||||||
var dataType string
|
var dataType string
|
||||||
var roomID string
|
var roomID string
|
||||||
var id types.StreamPosition
|
id := r.From
|
||||||
|
|
||||||
for rows.Next() {
|
for rows.Next() {
|
||||||
if err = rows.Scan(&id, &roomID, &dataType); err != nil {
|
if err = rows.Scan(&id, &roomID, &dataType); err != nil {
|
||||||
|
|
Loading…
Reference in a new issue