Remove changes to messages transform
This commit is contained in:
parent
4874b53c7c
commit
b9e1e6030f
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ const sync = sequential(async function syncAPI(messages, since, fileId) {
|
||||||
await actual.internal.send('load-budget', { id: fileId });
|
await actual.internal.send('load-budget', { id: fileId });
|
||||||
}
|
}
|
||||||
|
|
||||||
const messagesDeserialized = messages.map(envPb => {
|
messages = messages.map(envPb => {
|
||||||
let timestamp = envPb.getTimestamp();
|
let timestamp = envPb.getTimestamp();
|
||||||
let msg = SyncPb.Message.deserializeBinary(envPb.getContent());
|
let msg = SyncPb.Message.deserializeBinary(envPb.getContent());
|
||||||
return {
|
return {
|
||||||
|
@ -27,7 +27,7 @@ const sync = sequential(async function syncAPI(messages, since, fileId) {
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
const newMessages = await actual.internal.syncAndReceiveMessages(messagesDeserialized, since);
|
const newMessages = await actual.internal.syncAndReceiveMessages(messages, since);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
trie: actual.internal.timestamp.getClock().merkle,
|
trie: actual.internal.timestamp.getClock().merkle,
|
||||||
|
|
Loading…
Reference in a new issue