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

Subscription Restored goes through handshaking #131

Merged
merged 3 commits into from
Aug 14, 2023
Merged

Conversation

kleewho
Copy link
Contributor

@kleewho kleewho commented Jul 7, 2023

No description provided.

@kleewho kleewho requested a review from marcin-cebo as a code owner July 7, 2023 11:54
Base automatically changed from CLEN-1125_cucumber-tests to master July 10, 2023 11:51
@@ -39,7 +40,7 @@ sealed class SubscribeState : State<SubscribeEffectInvocation, Event, SubscribeS
return when (event) {
is Event.HandshakeSuccess -> {
transitionTo(
state = Receiving(channels, channelGroups, event.subscriptionCursor),
state = Receiving(channels, channelGroups, subscriptionCursor?.copy(region = event.subscriptionCursor.region) ?: event.subscriptionCursor),
Copy link
Contributor

Choose a reason for hiding this comment

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

I like this change.

@kleewho kleewho merged commit f756630 into master Aug 14, 2023
6 checks passed
@kleewho kleewho deleted the less_emit_statuses branch August 14, 2023 11:22
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.

3 participants