[call-me] - fix notfound
This commit is contained in:
+2
-2
@@ -146,7 +146,7 @@ function handleConnection(socket) {
|
||||
function handleMessage(data) {
|
||||
const { type } = data;
|
||||
|
||||
console.log('Received message:', type);
|
||||
console.log('Received message', type);
|
||||
|
||||
switch (type) {
|
||||
case 'signIn':
|
||||
@@ -212,7 +212,7 @@ function handleConnection(socket) {
|
||||
sendMsgTo(recipientSocket, data);
|
||||
} else {
|
||||
console.warn(`Recipient (${toName}) not found`);
|
||||
sendError(socket, `User ${toName} not found`);
|
||||
sendMsgTo(socket, { type: 'notfound', username: toName });
|
||||
}
|
||||
break;
|
||||
case 'offerDecline':
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "callme",
|
||||
"version": "1.0.6",
|
||||
"version": "1.0.7",
|
||||
"description": "Your Go-To for Instant Video Calls",
|
||||
"author": "Miroslav Pejic - miroslav.pejic.85@gmail.com",
|
||||
"license": "AGPLv3",
|
||||
|
||||
Reference in New Issue
Block a user