mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-26 08:11:55 -06:00
Start account data ID from from
This commit is contained in:
parent
4c19f22725
commit
6892e0f0e0
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue