Fix crash when submitting debuglog via registration flow.

This commit is contained in:
Cody Henthorne
2022-08-12 15:17:58 -04:00
parent 64d3b36b28
commit cfe167b639
2 changed files with 18 additions and 9 deletions

View File

@@ -359,6 +359,10 @@ public class Recipient {
return ApplicationDependencies.getRecipientCache().getSelf();
}
public static boolean isSelfSet() {
return ApplicationDependencies.getRecipientCache().getSelfId() != null;
}
Recipient(@NonNull RecipientId id) {
this.id = id;
this.resolving = true;