Repository navigation
Only the device that asked reacts to a no (GRYT-2023) - #1158
Merged
Merged
Conversation
server#364 sends dm:key:handover:denied to every device on the account, with the binding that was asked for, since a restart leaves no socket to aim it at. The pending handover now remembers the key it asked with and ignores a no for another. A no without a binding, from an older server, still counts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goes with Gryt-chat/server#364, which saves handover asks in the database and sends
dm:key:handover:denied { binding }to every device on the account, since after a restart there's no socket to aim it at.The pending handover now remembers the key it asked with (
OwnHandover.binding) and ignores a no for another key. A no with no binding, from a server without #364, still counts, so this is safe to merge first.🤖 Generated with Claude Code