Skip to content

Commit

Permalink
bug fix im deleting messages by list
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Oct 13, 2017
1 parent 0c440cb commit 574a905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tinode.js
Original file line number Diff line number Diff line change
Expand Up @@ -2346,7 +2346,7 @@
var messages = [];
topic.messages(function(msg) {
if (listToDelete.indexOf(msg.seq) == -1) {
messages.put(msg);
messages.push(msg);
}
});
topic._messages.reset();
Expand Down

0 comments on commit 574a905

Please sign in to comment.