Commit be8b37c0 authored by Sylvain Berfini's avatar Sylvain Berfini

Fix for missing proxy port sometimes in settings page

parent 62018a37
......@@ -344,7 +344,14 @@ namespace Linphone.Model
dict[DomainKeyName] = address.GetDomain();
if (address.GetDomain() != proxyAddress.GetDomain())
{
dict[ProxyKeyName] = proxyAddress.GetDomain();
if (proxyPort > 0)
{
dict[ProxyKeyName] = String.Format("{0}:{1}", proxyAddress.GetDomain(), proxyPort);
}
else
{
dict[ProxyKeyName] = proxyAddress.GetDomain();
}
}
else if (proxyPort > 0)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment