Skip to content

Commit

Permalink
Update db_level.js
Browse files Browse the repository at this point in the history
  • Loading branch information
R00tS3c authored Oct 17, 2019
1 parent fac0a37 commit 90c0fd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions socketserver/db_level.js
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,7 @@ LevelDB.prototype.getConversations = function (uid, callback) {

this.PmDB.createReadStream()
.on('data', function (data) {
data.key = data.key.toString();
if (data.key.indexOf(':') == -1 || (uids = data.key.split(':') + "").indexOf(uid) == -1) return;

try {
Expand Down

0 comments on commit 90c0fd5

Please sign in to comment.