Fix crash when submitting a debuglog during registration.

This commit is contained in:
Greyson Parrelli
2021-07-26 09:39:03 -04:00
parent 7e4396ae3f
commit c2ffd8adbb

View File

@@ -29,7 +29,7 @@ final class LogSectionKeyPreferences implements LogSection {
.append("Client Deprecated : ").append(SignalStore.misc().isClientDeprecated()).append("\n")
.append("Push Registered : ").append(TextSecurePreferences.isPushRegistered(context)).append("\n")
.append("Unauthorized Received: ").append(TextSecurePreferences.isUnauthorizedRecieved(context)).append("\n")
.append("self.isRegistered() : ").append(Recipient.self().isRegistered()).append("\n")
.append("self.isRegistered() : ").append(TextSecurePreferences.getLocalUuid(context) == null ? "false" : Recipient.self().isRegistered()).append("\n")
.append("Thread Trimming : ").append(getThreadTrimmingString()).append("\n");
}