Skip to content

Commit

Permalink
fix: Failed receive on public streams due to read receipts (fixes #15)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanRynne committed Oct 27, 2022
1 parent 8844f18 commit 15aa627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Speckle/Speckle.pq
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ GetObjFromBranch.Impl = (server as text, streamId as text, branchName as text) a
else if List.Count(branch[commits][items]) = 0 then error Text.Format("The branch '#{0}' in stream #{1} has no commits", { decodedBranchName, streamId })
else
// Force evaluation of read receipt (ideally it should happen after fetching, but can't find a way)
if rr then objectsTable else error "Failed to log receive";
if rr then objectsTable else objectsTable;


Speckle.GetObjectFromCommit = Value.ReplaceType(GetObjFromCommit.Impl, GetObjFromCommit.Type);
Expand Down

0 comments on commit 15aa627

Please sign in to comment.