loleaflet: avoid double logging of messages

Change-Id: Ib19e3f26ec0fe5bb66364a488f764bdcf88acf83
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98100
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
This commit is contained in:
Dennis Francis 2020-05-21 21:41:38 +05:30
parent fbae86ca65
commit a695506c73

View file

@ -772,8 +772,6 @@ L.Socket = L.Class.extend({
this._map.fire(mobileEvent); this._map.fire(mobileEvent);
} }
else if (!textMsg.startsWith('tile:') && !textMsg.startsWith('renderfont:') && !textMsg.startsWith('windowpaint:')) { else if (!textMsg.startsWith('tile:') && !textMsg.startsWith('renderfont:') && !textMsg.startsWith('windowpaint:')) {
// log the tile msg separately as we need the tile coordinates
this._logSocket('INCOMING', textMsg);
if (imgBytes !== undefined) { if (imgBytes !== undefined) {
try { try {