mirror of
https://github.com/mholt/timeliner.git
synced 2026-05-07 13:39:09 -05:00
gmail: IncludeArchivedMedia option
This commit is contained in:
@@ -62,7 +62,8 @@ func init() {
|
||||
// API. It requires an OAuth2-authorized
|
||||
// HTTP client in order to work properly.
|
||||
type Client struct {
|
||||
HTTPClient *http.Client
|
||||
HTTPClient *http.Client
|
||||
IncludeArchivedMedia bool
|
||||
|
||||
userID string
|
||||
checkpoint checkpointInfo
|
||||
@@ -147,6 +148,7 @@ func (c *Client) getItemsNextPage(itemChan chan<- *timeliner.ItemGraph,
|
||||
DateFilter: listMediaItemsDateFilter{
|
||||
Ranges: []listMediaItemsFilterRange{dateRange(timeframe)},
|
||||
},
|
||||
IncludeArchivedMedia: c.IncludeArchivedMedia,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user