1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-26 00:02:06 +01:00

Switch argument of VCard.setJabberId() to CharSequence

instead of String.
This commit is contained in:
Florian Schmaus 2018-04-11 09:55:56 +02:00
parent 2674161255
commit 5f58529c3a

View file

@ -249,8 +249,8 @@ public class VCard extends IQ {
return otherSimpleFields.get("JABBERID"); return otherSimpleFields.get("JABBERID");
} }
public void setJabberId(String jabberId) { public void setJabberId(CharSequence jabberId) {
otherSimpleFields.put("JABBERID", jabberId); otherSimpleFields.put("JABBERID", jabberId.toString());
} }
public String getOrganization() { public String getOrganization() {