Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: do not send confirmations to message websocket #433

Merged
merged 1 commit into from
May 10, 2023

Conversation

odesenfans
Copy link
Contributor

Problem: websocket users report messages appearing twice, as they are received on both the P2P and IPFS pubsub topics.

Solution: ignore confirmations. The scaffolding was already in place, we just need to return a ProcessedMessage instead of a raw MessageDb from MessageHandler.process().

Problem: websocket users report messages appearing twice, as they
are received on both the P2P and IPFS pubsub topics.

Solution: ignore confirmations. The scaffolding was already in
place, we just need to return a `ProcessedMessage` instead of
a raw `MessageDb` from `MessageHandler.process()`.
@odesenfans odesenfans merged commit 436f5a7 into master May 10, 2023
@odesenfans odesenfans deleted the od-do-not-send-confirmations-to-websocket branch May 10, 2023 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant