mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 19:33:09 -06:00
Refine docs for getStateDeltas
This commit is contained in:
parent
85c8ed19aa
commit
452ff70374
|
|
@ -720,8 +720,9 @@ func (d *SyncServerDatasource) fetchMissingStateEvents(
|
||||||
return events, nil
|
return events, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// getStateDeltas returns the state deltas between fromPos and toPos for the
|
// getStateDeltas returns the state deltas between fromPos and toPos,
|
||||||
// rooms in which the user has new membership events.
|
// exclusive of oldPos, inclusive of newPos, for the rooms in which
|
||||||
|
// the user has new membership events.
|
||||||
// A list of joined room IDs is also returned in case the caller needs it.
|
// A list of joined room IDs is also returned in case the caller needs it.
|
||||||
func (d *SyncServerDatasource) getStateDeltas(
|
func (d *SyncServerDatasource) getStateDeltas(
|
||||||
ctx context.Context, device *authtypes.Device, txn *sql.Tx,
|
ctx context.Context, device *authtypes.Device, txn *sql.Tx,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue