Skip to content

Commit

Permalink
Fix StateMessage.decode not correctly decoding operation.map.entries
Browse files Browse the repository at this point in the history
  • Loading branch information
VeskeR committed Nov 22, 2024
1 parent 6ad5e10 commit b7880a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/liveobjects/statemessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ export class StateMessage {
}
}

if (message.operation?.map) {
for (const entry of Object.values(message.operation.map)) {
if (message.operation?.map?.entries) {
for (const entry of Object.values(message.operation.map.entries)) {
await decodeMapEntry(entry, inputContext, decodeDataFn);
}
}
Expand Down

0 comments on commit b7880a7

Please sign in to comment.