summaryrefslogtreecommitdiff
path: root/src/site.clj
diff options
context:
space:
mode:
authorsostler <sbostler@gmail.com>2010-01-03 22:00:01 -0500
committersostler <sbostler@gmail.com>2010-01-03 22:00:01 -0500
commit53379aa87da00721c6bc26c5ebc7c5ba26b3e228 (patch)
treec57dfcbb1a419ad344ccf8f4f50008855eeaa621 /src/site.clj
parent9fb3c531c2f75842dd2e9a3aea34084e2e7988bd (diff)
Fixed fetch-messages-by-room offset bug
Diffstat (limited to 'src/site.clj')
-rwxr-xr-xsrc/site.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/site.clj b/src/site.clj
index e57580a..df7cb81 100755
--- a/src/site.clj
+++ b/src/site.clj
@@ -146,7 +146,7 @@
(do-count [query room-id])))
(defn fetch-messages-by-room
- ([room-id image-only] (fetch-messages-by-room room-id image-only 1))
+ ([room-id image-only] (fetch-messages-by-room room-id image-only 0))
([room-id image-only offset]
(let [query (str "SELECT m.content, m.created_on, u.nick "
"FROM messages m, users u "