mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 11:23:11 -06:00
Remove dead code
This commit is contained in:
parent
399c2e7ef7
commit
415d5f7054
|
|
@ -1002,15 +1002,6 @@ func (d *SyncServerDatasource) getStateDeltas(
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, nil, err
|
return nil, nil, err
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
s = make([]types.StreamEvent, len(allState))
|
|
||||||
for i := 0; i < len(s); i++ {
|
|
||||||
s[i] = types.StreamEvent{
|
|
||||||
Event: allState[i],
|
|
||||||
StreamPosition: types.StreamPosition(0),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
state[roomID] = s
|
state[roomID] = s
|
||||||
continue // we'll add this room in when we do joined rooms
|
continue // we'll add this room in when we do joined rooms
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue