From c2ac3644709d264d467d4a2a367ec80392731057 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Tue, 19 Jan 2021 10:57:09 +0000 Subject: [PATCH] Remove unused strut --- syncapi/sync/request.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/syncapi/sync/request.go b/syncapi/sync/request.go index fb8bcdb05..5ec0fbd69 100644 --- a/syncapi/sync/request.go +++ b/syncapi/sync/request.go @@ -32,14 +32,6 @@ import ( const defaultSyncTimeout = time.Duration(0) 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) { timeout := getTimeout(req.URL.Query().Get("timeout")) fullState := req.URL.Query().Get("full_state")