demos: Remove redundant assignment

Fixes #2415
This commit is contained in:
Ben Darnell 2018-06-27 21:15:10 -04:00
parent 0b2b055061
commit d68e63f55b
1 changed files with 0 additions and 1 deletions

View File

@ -116,7 +116,6 @@ var updater = {
newMessages: function(response) {
if (!response.messages) return;
updater.cursor = response.cursor;
var messages = response.messages;
updater.cursor = messages[messages.length - 1].id;
console.log(messages.length, "new messages, cursor:", updater.cursor);