From e04617eb04cdfce76d1bd544c0414b29c271d7d1 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Mon, 21 Aug 2023 23:34:49 +1200 Subject: [PATCH] remove console.log --- d2m/actions/create-room.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/d2m/actions/create-room.js b/d2m/actions/create-room.js index 4576320..3be2429 100644 --- a/d2m/actions/create-room.js +++ b/d2m/actions/create-room.js @@ -237,8 +237,6 @@ async function _unbridgeRoom(channelID) { * @returns {Promise} */ async function _syncSpaceMember(channel, spaceID, roomID) { - console.error(channel) - console.error("syncing space for", roomID) const spaceKState = await roomToKState(spaceID) let spaceEventContent = {} if ( @@ -249,11 +247,9 @@ async function _syncSpaceMember(channel, spaceID, roomID) { via: ["cadence.moe"] // TODO: use the proper server } } - console.error(spaceEventContent) const spaceDiff = ks.diffKState(spaceKState, { [`m.space.child/${roomID}`]: spaceEventContent }) - console.error(spaceDiff) return applyKStateDiffToRoom(spaceID, spaceDiff) }