Fix gv2 create/join bugs when profile credential is invalid.

This commit is contained in:
Cody Henthorne
2025-03-24 14:45:55 -04:00
parent eba5c5ceeb
commit 3e1edfbc67
2 changed files with 49 additions and 15 deletions

View File

@@ -335,7 +335,11 @@ public final class ProfileUtil {
Log.i(TAG, String.format("Got new profile key credential for recipient %s", recipient.getId()));
return profileKeyCredentialOptional;
}
} else {
Log.w(TAG, "Failed to fetch updated profile key credential for recipient " + recipient.getId());
}
} else {
Log.w(TAG, "Unable to fetch credential as no profile key exists for " + recipient.getId());
}
return Optional.empty();