Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #8387 from brave/fix/sync-72
Browse files Browse the repository at this point in the history
updating sync to match brave/sync#73
  • Loading branch information
diracdeltas committed Apr 19, 2017
2 parents 22dc2b2 + e5c4a16 commit 6ed7739
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ module.exports.init = function (appState) {
}
appActions.setSyncSetupError(error || locale.translation('unknownError'))
})
ipcMain.on(messages.GET_EXISTING_OBJECTS, (event, categoryName, records, lastRecordTimestamp) => {
ipcMain.on(messages.GET_EXISTING_OBJECTS, (event, categoryName, records) => {
if (!syncEnabled()) {
return
}
Expand Down
4 changes: 3 additions & 1 deletion js/constants/sync/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ const messages = {
* webview -> browser
* after sync gets records, it requests the browser's existing objects so sync
* can perform conflict resolution.
* isTruncated is true if limitResponse was used and the total number of
* records exceeds the limit (1000).
*/
GET_EXISTING_OBJECTS: _, /* @param {string} categoryName, @param {Array.<Object>} records */
GET_EXISTING_OBJECTS: _, /* @param {string} categoryName, @param {Array.<Object>} records, @param {lastRecordTimeStamp} number, @param {boolean} isTruncated */
/**
* browser -> webview
* webview resolves sync records against matching browser objects and returns
Expand Down

0 comments on commit 6ed7739

Please sign in to comment.