Skip to content

Commit

Permalink
Merge pull request #291 from Schmiddiii/fix-panic-group-avatar
Browse files Browse the repository at this point in the history
Fix panic for fetching group avatar
  • Loading branch information
rubdos authored Feb 22, 2024
2 parents 3b51a6f + e8ef1dd commit 1a8cdf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsignal-service/src/groups_v2/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ impl<S: PushService, C: CredentialsCache> GroupsManager<S, C> {

#[tracing::instrument(
skip(self, group_secret_params),
fields(path = %path[..4]),
fields(path = %path[..4.min(path.len())]),
)]
pub async fn retrieve_avatar(
&mut self,
Expand Down

0 comments on commit 1a8cdf8

Please sign in to comment.