-
Notifications
You must be signed in to change notification settings - Fork 32
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 sending SyncMessage to self #263
Conversation
…ly set the device IDs
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #263 +/- ##
========================================
- Coverage 3.66% 3.65% -0.02%
========================================
Files 38 38
Lines 2809 2818 +9
========================================
Hits 103 103
- Misses 2706 2715 +9 ☔ View full report in Codecov by Sentry. |
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.
Looks good to me, assuming some on-device testing has been made!
0ee1445
to
98c95ca
Compare
impl SyncMessage { | ||
pub fn with_padding() -> Self { |
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.
@gferon Shouldn't we make those stronger types, such that it's impossible to transmit without padding?
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.
Yes, that was a ninja trick for the time being.
Fixes sending
SyncMessage
and to self.SyncMessage