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

Add server_guid to Metadata #243

Merged
merged 2 commits into from
Jan 4, 2024
Merged

Add server_guid to Metadata #243

merged 2 commits into from
Jan 4, 2024

Conversation

rubdos
Copy link
Member

@rubdos rubdos commented Sep 4, 2023

This is unlike Signal Android, where the Envelope is also continously passed while processing the already decrypted content. In Rust, we logically would consume the envelope to yield the Metadata and Content, so I prefer the Metadata to contain this information.

This is unlike Signal Android, where the Envelope is also continously
passed while processing the already decrypted content.  In Rust, we
logically would *consume* the envelope to yield the Metadata and
Content, so I prefer the Metadata to contain this information.
@codecov
Copy link

codecov bot commented Oct 13, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (96e4f39) 3.67% compared to head (6a8b73a) 3.66%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##            main    #243      +/-   ##
========================================
- Coverage   3.67%   3.66%   -0.01%     
========================================
  Files         38      38              
  Lines       2806    2808       +2     
========================================
  Hits         103     103              
- Misses      2703    2705       +2     
Files Coverage Δ
libsignal-service/src/cipher.rs 0.00% <ø> (ø)
libsignal-service/src/content.rs 0.00% <0.00%> (ø)

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gferon
Copy link
Collaborator

gferon commented Oct 13, 2023

Can you add a small comment in the struct to explain what this field is?

@rubdos rubdos self-assigned this Oct 16, 2023
@rubdos
Copy link
Member Author

rubdos commented Jan 4, 2024

Can you add a small comment in the struct to explain what this field is?

I did just that (a few months ago, but I came across this again today)!

@rubdos
Copy link
Member Author

rubdos commented Jan 4, 2024

I'm just going to pull this in, it's a rather trivial change.

@rubdos rubdos merged commit daad1fc into main Jan 4, 2024
12 of 13 checks passed
@rubdos rubdos deleted the server-guid branch January 4, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants