mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Stop reading the PNP capability.
This commit is contained in:
@@ -34,12 +34,11 @@ public final class LogSectionCapabilities implements LogSection {
|
||||
RecipientRecord.Capabilities globalCapabilities = SignalDatabase.recipients().getCapabilities(self.getId());
|
||||
|
||||
StringBuilder builder = new StringBuilder().append("-- Local").append("\n")
|
||||
.append("PNP/PNI: ").append(localCapabilities.getPni()).append("\n")
|
||||
.append("\n")
|
||||
.append("-- Global").append("\n");
|
||||
|
||||
if (globalCapabilities != null) {
|
||||
builder.append("PNP/PNI: ").append(globalCapabilities.getPnpCapability()).append("\n");
|
||||
builder.append("\n");
|
||||
} else {
|
||||
builder.append("Self not found!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user