mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-01 13:52:46 +00:00
parent
fb2e7d1b05
commit
98d3f88bfb
3 changed files with 29 additions and 28 deletions
|
@ -259,7 +259,7 @@ func (d *DatabaseTransaction) StreamToTopologicalPosition(
|
|||
// oldest event in the room's topology.
|
||||
func (d *DatabaseTransaction) GetBackwardTopologyPos(
|
||||
ctx context.Context,
|
||||
events []types.StreamEvent,
|
||||
events []*gomatrixserverlib.HeaderedEvent,
|
||||
) (types.TopologyToken, error) {
|
||||
zeroToken := types.TopologyToken{}
|
||||
if len(events) == 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue