From 0524f06722a5c7405cf6e9cd7103ea87c432adb5 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 3 Jun 2019 00:31:21 +0200 Subject: [PATCH] remove logging --- src/matrix/room/timeline/persistence/GapWriter.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/matrix/room/timeline/persistence/GapWriter.js b/src/matrix/room/timeline/persistence/GapWriter.js index 8edeb313..9941c712 100644 --- a/src/matrix/room/timeline/persistence/GapWriter.js +++ b/src/matrix/room/timeline/persistence/GapWriter.js @@ -15,19 +15,14 @@ export default class GapWriter { let neighbourFragmentEntry; const neighbourEventId = await txn.timelineEvents.findFirstOccurringEventId(this._roomId, eventIds); if (neighbourEventId) { - console.log("_findOverlappingEvents neighbourEventId", neighbourEventId); // trim overlapping events const neighbourEventIndex = events.findIndex(e => e.event_id === neighbourEventId); nonOverlappingEvents = events.slice(0, neighbourEventIndex); // get neighbour fragment to link it up later on const neighbourEvent = await txn.timelineEvents.getByEventId(this._roomId, neighbourEventId); - console.log("neighbourEvent", {neighbourEvent, nonOverlappingEvents, events, neighbourEventIndex}); const neighbourFragment = await txn.timelineFragments.get(this._roomId, neighbourEvent.fragmentId); neighbourFragmentEntry = fragmentEntry.createNeighbourEntry(neighbourFragment); } - - console.log("_findOverlappingEvents events", events, nonOverlappingEvents); - return {nonOverlappingEvents, neighbourFragmentEntry}; }