diff --git a/backend/src/matrix-bot/outbound-queue.js b/backend/src/matrix-bot/outbound-queue.js index 494d9f5..90195b4 100644 --- a/backend/src/matrix-bot/outbound-queue.js +++ b/backend/src/matrix-bot/outbound-queue.js @@ -12,7 +12,10 @@ const setTargetRoomId = async (roomId) => { }; const processOutboundQueue = async ({ type, ...args }) => { - if (!targetRoomId) return; + if (!targetRoomId) { + console.log('targetRoomId not set, cannot deliver message'); + return; + } switch (type) { case 'MatrixEvent': { const { eventType, content, onSend } = args;