mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 08:13:09 -06:00
Remove unused strut
This commit is contained in:
parent
55ad2fe03e
commit
c2ac364470
|
|
@ -32,14 +32,6 @@ import (
|
||||||
const defaultSyncTimeout = time.Duration(0)
|
const defaultSyncTimeout = time.Duration(0)
|
||||||
const DefaultTimelineLimit = 20
|
const DefaultTimelineLimit = 20
|
||||||
|
|
||||||
type filter struct {
|
|
||||||
Room struct {
|
|
||||||
Timeline struct {
|
|
||||||
Limit *int `json:"limit"`
|
|
||||||
} `json:"timeline"`
|
|
||||||
} `json:"room"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func newSyncRequest(req *http.Request, device userapi.Device, syncDB storage.Database) (*types.SyncRequest, error) {
|
func newSyncRequest(req *http.Request, device userapi.Device, syncDB storage.Database) (*types.SyncRequest, error) {
|
||||||
timeout := getTimeout(req.URL.Query().Get("timeout"))
|
timeout := getTimeout(req.URL.Query().Get("timeout"))
|
||||||
fullState := req.URL.Query().Get("full_state")
|
fullState := req.URL.Query().Get("full_state")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue