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
1 changed files with 2 additions and 2 deletions

View File

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