diff --git a/src/core/subscriptions.ts b/src/core/subscriptions.ts index aa76fd91..ab79aacd 100644 --- a/src/core/subscriptions.ts +++ b/src/core/subscriptions.ts @@ -57,14 +57,10 @@ export const subscribeAll = ( }); connection.events.onUserPacket.subscribe((user) => { - console.log("User Packet", user); - device.addUser(user); }); connection.events.onPositionPacket.subscribe((position) => { - console.log("Position Packet", position); - device.addPosition(position); }); diff --git a/src/pages/Messages.tsx b/src/pages/Messages.tsx index a82b216b..074838c4 100644 --- a/src/pages/Messages.tsx +++ b/src/pages/Messages.tsx @@ -41,8 +41,6 @@ export const MessagesPage = () => { .sort((a, b) => b.unreadCount - a.unreadCount); } - console.log('filtered nodes', filteredNodes()); - const allChannels = Array.from(channels.values()); const filteredChannels = allChannels.filter( (ch) => ch.role !== Protobuf.Channel.Channel_Role.DISABLED, @@ -65,8 +63,6 @@ export const MessagesPage = () => { try { messageId = await connection?.sendText(message, toValue, true, channelValue); - console.log("Message sent, ID:", messageId); - if (messageId !== undefined) { if (chatType === MessageType.Broadcast) { setMessageState({ type: chatType, channelId: channelValue, messageId, newState: MessageState.Ack });