From 28f1a7248fc0570165a1880b374bad8ee38b21e0 Mon Sep 17 00:00:00 2001 From: Vassil Dichev Date: Thu, 10 May 2012 09:43:50 +0300 Subject: [PATCH] Fix wrong key and convert String array id to Long --- clj-browserchannel-server/src/net/thegeez/browserchannel.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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