Permalink
Browse files

Removed lastMessage from server since all this is done on the client …

…side.
  • Loading branch information...
1 parent d2d6ea8 commit 89792bcccfed0f9150c12233785bddbc5562048e @julien committed Apr 6, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 app.js
View
3 app.js
@@ -74,9 +74,6 @@ function onClientRemove(id) {
function onMessageSend(from, message, to) {
// Return if we don't have a message
if (!message) return;
-
- // Set a timestamp for this message
- this.set('lastMessage', new Date().getTime());
if (this.id === from.id) {
if (!to) {

0 comments on commit 89792bc

Please sign in to comment.