From 90c0fd59499ba6a7c7632d44c9a650ce9c35ff1f Mon Sep 17 00:00:00 2001 From: RootSec Date: Thu, 17 Oct 2019 20:59:15 +0200 Subject: [PATCH] Update db_level.js --- socketserver/db_level.js | 1 + 1 file changed, 1 insertion(+) diff --git a/socketserver/db_level.js b/socketserver/db_level.js index 43caa3b..bb131bf 100644 --- a/socketserver/db_level.js +++ b/socketserver/db_level.js @@ -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 {