Attempt repair if you have an invalid credential during invite accept.
This commit is contained in:
parent
b433a7b816
commit
64d3b36b28
1 changed files with 3 additions and 2 deletions
|
@ -528,7 +528,7 @@ final class GroupManagerV2 {
|
||||||
GroupCandidate groupCandidate = groupCandidateHelper.recipientIdToCandidate(Recipient.self().getId());
|
GroupCandidate groupCandidate = groupCandidateHelper.recipientIdToCandidate(Recipient.self().getId());
|
||||||
|
|
||||||
if (!groupCandidate.hasValidProfileKeyCredential()) {
|
if (!groupCandidate.hasValidProfileKeyCredential()) {
|
||||||
Log.w(TAG, "No credential available, repairing");
|
Log.w(TAG, "[updateSelfProfileKeyInGroup] No credential available, repairing");
|
||||||
ApplicationDependencies.getJobManager().add(new ProfileUploadJob());
|
ApplicationDependencies.getJobManager().add(new ProfileUploadJob());
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -554,7 +554,8 @@ final class GroupManagerV2 {
|
||||||
GroupCandidate groupCandidate = groupCandidateHelper.recipientIdToCandidate(Recipient.self().getId());
|
GroupCandidate groupCandidate = groupCandidateHelper.recipientIdToCandidate(Recipient.self().getId());
|
||||||
|
|
||||||
if (!groupCandidate.hasValidProfileKeyCredential()) {
|
if (!groupCandidate.hasValidProfileKeyCredential()) {
|
||||||
Log.w(TAG, "No credential available");
|
Log.w(TAG, "[AcceptInvite] No credential available, repairing");
|
||||||
|
ApplicationDependencies.getJobManager().add(new ProfileUploadJob());
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue