-
Notifications
You must be signed in to change notification settings - Fork 76
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 stream management #68
Conversation
sm_state = {true, 0, active}, | ||
event_client = self()}, | ||
SecondState = escalus_tcp:forward_to_owner(FirstStanzas, State), | ||
#state{sm_state = SMState} = escalus_tcp:forward_to_owner(SecondStanzas, SecondState), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to Elvis:
Line 23 is too long: #state{sm_state = SMState} = escalus_tcp:forward_to_owner(SecondStanzas, SecondState),.
Does this PR address #67? |
No, it doesn't. These are two separate problems. This fixes only counting stanzas. After it is merged. It will be easy to fix the predicate. |
@@ -303,8 +297,8 @@ forward_to_owner(Stanzas0, #state{owner = Owner, | |||
sm_state = SM0, | |||
event_client = EventClient} = State) -> | |||
{SM1, AckRequests,StanzasNoRs} = separate_ack_requests(SM0, Stanzas0), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to Elvis:
Missing space after "," on line 299
No description provided.