matrix-org / gomatrixserverlib

Go library for matrix federation.
Apache License 2.0
62 stars 51 forks source link

Add more methods for converting to/from sender IDs #412

Closed swedgwood closed 1 year ago

swedgwood commented 1 year ago

Including some tests for sender IDs

Signed-off-by: Sam Wedgwood <sam@wedgwood.dev>

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 77.27% and project coverage change: +0.15% :tada:

Comparison is base (740f742) 58.40% compared to head (484e769) 58.56%.

:exclamation: Current head 484e769 differs from pull request most recent head c0669e0. Consider uploading reports for the commit c0669e0 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #412 +/- ## ========================================== + Coverage 58.40% 58.56% +0.15% ========================================== Files 51 51 Lines 7040 7062 +22 ========================================== + Hits 4112 4136 +24 + Misses 2538 2534 -4 - Partials 390 392 +2 ``` | [Files Changed](https://app.codecov.io/gh/matrix-org/gomatrixserverlib/pull/412?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=matrix-org) | Coverage Δ | | |---|---|---| | [spec/userid.go](https://app.codecov.io/gh/matrix-org/gomatrixserverlib/pull/412?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=matrix-org#diff-c3BlYy91c2VyaWQuZ28=) | `84.61% <60.00%> (-2.62%)` | :arrow_down: | | [spec/senderid.go](https://app.codecov.io/gh/matrix-org/gomatrixserverlib/pull/412?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=matrix-org#diff-c3BlYy9zZW5kZXJpZC5nbw==) | `81.25% <82.35%> (+47.91%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.

:loudspeaker: Have feedback on the report? Share it here.