mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 10:33:11 -06:00
parent
7a44076c6f
commit
a15ce36f35
|
|
@ -165,7 +165,7 @@ func (s *inviteEventsStatements) SelectInviteEventsInRange(
|
|||
}
|
||||
}
|
||||
if lastPos == 0 {
|
||||
lastPos = r.From
|
||||
lastPos = r.To
|
||||
}
|
||||
return result, retired, lastPos, rows.Err()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@ func (s *inviteEventsStatements) SelectInviteEventsInRange(
|
|||
}
|
||||
}
|
||||
if lastPos == 0 {
|
||||
lastPos = r.From
|
||||
lastPos = r.To
|
||||
}
|
||||
return result, retired, lastPos, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue