diff --git a/clj-browserchannel-server/src/net/thegeez/browserchannel.clj b/clj-browserchannel-server/src/net/thegeez/browserchannel.clj index 0b72681..59c0106 100644 --- a/clj-browserchannel-server/src/net/thegeez/browserchannel.clj +++ b/clj-browserchannel-server/src/net/thegeez/browserchannel.clj @@ -361,7 +361,8 @@ (update-in [:array-buffer] conj [next-array-id array]) (assoc :last-sent-array-id next-array-id)))) (acknowledge-arrays [this array-id] - (update-in this [:to-confirm-arrays-ids] drop-queue array-id)) + (update-in this [:to-confirm-array-ids] + drop-queue (Long/parseLong array-id))) ;; tries to do the actual writing to the client ;; @todo the composition is a bit awkward in this method due to the ;; try catch and if mix