loleaflet/src/core/Socket.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
New commits: commit c17fd41dbc31faa0357da91b688f7d4d2c8d9bd1 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> AuthorDate: Fri Feb 21 06:14:27 2020 -0500 Commit: Ashod Nakashian <ashnak...@gmail.com> CommitDate: Sun Feb 23 21:47:41 2020 +0100 leaflet: reuse Socket._doSend to send and log Change-Id: Ie7fb45972b4f1c132b57012d1e4f01681352dc8b Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89197 Tested-by: Ashod Nakashian <ashnak...@gmail.com> Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js index 49bdc41d5..a173ef784 100644 --- a/loleaflet/src/core/Socket.js +++ b/loleaflet/src/core/Socket.js @@ -138,12 +138,7 @@ L.Socket = L.Class.extend({ } if (socketState === 1) { - this.socket.send(msg); - // Only attempt to log text frames, not binary ones. - if (typeof msg === 'string') { - L.Log.log(msg, L.OUTGOING, coords); - this._logSocket('OUTGOING', msg); - } + this._doSend(msg); } else { // push message while trying to connect socket again. _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits