mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 21:28:08 +00:00
Fix gruu parameter in IdentityAddress.
This commit is contained in:
parent
385284596e
commit
39c1890905
2 changed files with 3 additions and 7 deletions
|
|
@ -61,7 +61,7 @@ Address::Address (const IdentityAddress &src) : ClonableObject(*new AddressPriva
|
|||
);
|
||||
|
||||
if (src.hasGruu())
|
||||
uri += "?gr=" + src.getGruu();
|
||||
uri += ";gr=" + src.getGruu();
|
||||
|
||||
d->internalAddress = sal_address_new(L_STRING_TO_C(uri));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,9 +38,7 @@ IdentityAddress::IdentityAddress (const string &address) : ClonableObject(*new I
|
|||
d->scheme = tmpAddress.getScheme();
|
||||
d->username = tmpAddress.getUsername();
|
||||
d->domain = tmpAddress.getDomain();
|
||||
if (tmpAddress.hasUriParam("gr")) {
|
||||
d->gruu = tmpAddress.getUriParamValue("gr");
|
||||
}
|
||||
d->gruu = tmpAddress.getUriParamValue("gr");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -57,9 +55,7 @@ IdentityAddress::IdentityAddress (const Address &src) : ClonableObject(*new Iden
|
|||
d->scheme = src.getScheme();
|
||||
d->username = src.getUsername();
|
||||
d->domain = src.getDomain();
|
||||
if (src.hasUriParam("gr")) {
|
||||
d->gruu = src.getUriParamValue("gr");
|
||||
}
|
||||
d->gruu = src.getUriParamValue("gr");
|
||||
}
|
||||
|
||||
IdentityAddress &IdentityAddress::operator= (const IdentityAddress &src) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue