mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 01:54:40 +08:00
fix(streaming): Tell the API we want folder/label deltas
This commit is contained in:
parent
76f16b112c
commit
d9a1c1aec7
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class NylasLongConnection
|
|||
@withCursor (cursor) =>
|
||||
return if @state is NylasLongConnection.State.Ended
|
||||
console.log("Long Polling Connection: Starting for namespace #{@_namespaceId}, token #{@_api.APIToken}, with cursor #{cursor}")
|
||||
options = url.parse("#{@_api.APIRoot}/n/#{@_namespaceId}/delta/streaming?cursor=#{cursor}&exclude_types=event")
|
||||
options = url.parse("#{@_api.APIRoot}/n/#{@_namespaceId}/delta/streaming?cursor=#{cursor}&exclude_types=event&exclude_folders=false")
|
||||
options.auth = "#{@_api.APIToken}:"
|
||||
|
||||
if @_api.APIRoot.indexOf('https') is -1
|
||||
|
|
Loading…
Reference in a new issue