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

Send RelayEvent Containing NostrEvent and Subscription ID #86

Merged
merged 1 commit into from
Aug 27, 2023

Conversation

joelklabo
Copy link
Collaborator

No description provided.

delegate?.relay(self, didReceive: event)
case .event(let subscriptionId, let event):
let relayEvent = RelayEvent(event: event, subscriptionId: subscriptionId)
events.send(relayEvent)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the publisher case, maybe a tuple would be better...

@tyiu tyiu merged commit 6325f9f into main Aug 27, 2023
3 checks passed
@tyiu tyiu deleted the relay-event-with-subscription-id branch August 27, 2023 06:53
RandyMcMillan pushed a commit to RandyMcMillan/nostr-sdk-ios that referenced this pull request Sep 1, 2024
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.

2 participants