Fix wrong _.map usage on events service.

stable
Andrey Antukh 2014-10-01 14:27:23 +02:00
parent 4324e4f044
commit 89f6f0d6fb
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class EventsService
if not @.connected
return
messages = _.map(@.serialize, @.pendingMessages)
messages = _.map(@.pendingMessages, @.serialize)
@.pendingMessages = []
for msg in messages