Load chat messages in reasonable sized chunks

This commit is contained in:
James Allen 2014-07-15 18:50:46 +01:00
parent 2a3ff3c523
commit 604a877f12

View file

@ -3,7 +3,7 @@ define [
], (App) -> ], (App) ->
App.factory "chatMessages", ($http, ide) -> App.factory "chatMessages", ($http, ide) ->
MESSAGES_URL = "/project/#{ide.project_id}/messages" MESSAGES_URL = "/project/#{ide.project_id}/messages"
MESSAGE_LIMIT = 3 MESSAGE_LIMIT = 50
CONNECTED_USER_URL = "/project/#{ide.project_id}/connected_users" CONNECTED_USER_URL = "/project/#{ide.project_id}/connected_users"
chat = { chat = {