kopia lustrzana https://github.com/ryukoposting/Signal-Android
Rename pnp capability to pni.
rodzic
202f20893c
commit
91fbc236ce
|
@ -160,12 +160,12 @@ public class AccountAttributes {
|
||||||
private boolean giftBadges;
|
private boolean giftBadges;
|
||||||
|
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private boolean pnp;
|
private boolean pni;
|
||||||
|
|
||||||
@JsonCreator
|
@JsonCreator
|
||||||
public Capabilities() {}
|
public Capabilities() {}
|
||||||
|
|
||||||
public Capabilities(boolean uuid, boolean gv2, boolean storage, boolean gv1Migration, boolean senderKey, boolean announcementGroup, boolean changeNumber, boolean stories, boolean giftBadges, boolean pnp) {
|
public Capabilities(boolean uuid, boolean gv2, boolean storage, boolean gv1Migration, boolean senderKey, boolean announcementGroup, boolean changeNumber, boolean stories, boolean giftBadges, boolean pni) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
this.gv2 = gv2;
|
this.gv2 = gv2;
|
||||||
this.storage = storage;
|
this.storage = storage;
|
||||||
|
@ -175,7 +175,7 @@ public class AccountAttributes {
|
||||||
this.changeNumber = changeNumber;
|
this.changeNumber = changeNumber;
|
||||||
this.stories = stories;
|
this.stories = stories;
|
||||||
this.giftBadges = giftBadges;
|
this.giftBadges = giftBadges;
|
||||||
this.pnp = pnp;
|
this.pni = pni;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isUuid() {
|
public boolean isUuid() {
|
||||||
|
@ -215,7 +215,7 @@ public class AccountAttributes {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isPnp() {
|
public boolean isPnp() {
|
||||||
return pnp;
|
return pni;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue