diff --git a/backend/api/messaging/index.ts b/backend/api/messaging/index.ts index 4c6e553..b3bbf8c 100644 --- a/backend/api/messaging/index.ts +++ b/backend/api/messaging/index.ts @@ -2,7 +2,6 @@ import express, { Request, Response } from 'express'; import db from '../../db'; import { PUBLIC_KEY_COLLECTION } from '../../db/const'; -import uploadImage from '../../external/uploadImage'; import asyncHandler from '../../middleware/asyncHandler'; import { SOCKET_TOPIC, socketEmit } from '../../socket.io'; import getClientInstance from '../../socket.io/clients'; @@ -84,7 +83,6 @@ router.get( return res.sendStatus(404); } const receiverID = clients.getReceiverIDBySenderID(userId as string, channel as string); - console.log(receiverID) const data = await db.findOneFromDB({ channel, user: receiverID }, PUBLIC_KEY_COLLECTION); return res.send(data || { publicKey: null, diff --git a/service/src/sdk.ts b/service/src/sdk.ts index d0de11e..7f51037 100644 --- a/service/src/sdk.ts +++ b/service/src/sdk.ts @@ -241,7 +241,6 @@ class ChatE2EE implements IChatE2EE { this.call?.endCall(); this.call = null; this.onCallRemovedHandler?.(); - return; } public onCallAdded(cb: (call: E2ECall) => void): void {