Browse Source

fix(rtc): typo in merge-update-ops

rcmerci 1 year ago
parent
commit
4e3211f815
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/worker/rtc/client_op.cljs

+ 1 - 1
src/main/frontend/worker/rtc/client_op.cljs

@@ -85,7 +85,7 @@
     (if (> t1 t2)
       (merge-update-ops update-op2 update-op1)
       (let [{av-coll1 :av-coll block-uuid :block-uuid} (last update-op1)
-            {av-coll2 :av-coll} (last update-op1)]
+            {av-coll2 :av-coll} (last update-op2)]
         [:update t2
          {:block-uuid block-uuid
           :av-coll (concat av-coll1 av-coll2)}]))))