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

Avoid passing -1 as friend connection to new groups. #1063

Merged
merged 1 commit into from
Aug 13, 2018

Conversation

iphydf
Copy link
Member

@iphydf iphydf commented Aug 11, 2018

Somehow it still works because the lower levels can deal with
inconsistent/broken state, but this lets us avoid that broken state in
the first place. If a friend connection doesn't exist, we don't add it to
our group.


This change is Reviewable

@iphydf iphydf added this to the v0.2.x milestone Aug 11, 2018
@iphydf iphydf force-pushed the avoid-negative-friendcon branch 3 times, most recently from fe93536 to 07f70e7 Compare August 12, 2018 22:32
Copy link
Member

@robinlinden robinlinden left a comment

Choose a reason for hiding this comment

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

:lgtm_strong:

Reviewed 1 of 1 files at r1.
Reviewable status: 0 of 1 approvals obtained

Somehow it still works because the lower levels can deal with
inconsistent/broken state, but this lets us avoid that broken state in
the first place. If a friend connection doesn't exist, we don't add it to
our group.
@iphydf iphydf force-pushed the avoid-negative-friendcon branch from 07f70e7 to b77e407 Compare August 13, 2018 21:56
@iphydf iphydf merged commit b77e407 into TokTok:master Aug 13, 2018
@iphydf iphydf deleted the avoid-negative-friendcon branch August 13, 2018 22:10
@robinlinden robinlinden modified the milestones: v0.2.x, v0.2.6 Aug 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants