Skip to content

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

Merged
iphydf merged 1 commit intoTokTok:masterfrom
iphydf:avoid-negative-friendcon
Aug 13, 2018
Merged

Avoid passing -1 as friend connection to new groups.#1063
iphydf merged 1 commit intoTokTok:masterfrom
iphydf:avoid-negative-friendcon

Conversation

@iphydf
Copy link
Copy Markdown
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
Copy Markdown

@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