Skip to content

Commit

Permalink
Chore: Update comments and remove debug prints (#237)
Browse files Browse the repository at this point in the history
* Update comment

* Remove debug print statements
  • Loading branch information
anian03 authored Nov 25, 2024
1 parent 0b75643 commit d645ad2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ class SocketConnectionHandler {
guard let messageWebsocketDTO = JSONDecoder.getTypeFromSocketMessage(type: MessageWebsocketDTO.self, message: message) else {
continue
}
print("Stomp channel")

messagePublisher.send(messageWebsocketDTO)
}
}
Expand All @@ -75,7 +73,6 @@ class SocketConnectionHandler {
guard let messageWebsocketDTO = JSONDecoder.getTypeFromSocketMessage(type: MessageWebsocketDTO.self, message: message) else {
continue
}
print("Stomp convo")
messagePublisher.send(messageWebsocketDTO)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ private extension ConversationType {
// MARK: Reload Notification

extension Foundation.Notification.Name {
// Sending a notification of this type causes the Notification List to be reloaded,
// when favorites are changed from elsewhere.
// Sending a notification of this type causes the Conversation
// to add the newly sent message in case the web socket fails
static let newMessageSent = Foundation.Notification.Name("NewMessageSent")
}

0 comments on commit d645ad2

Please sign in to comment.