mirror of
https://github.com/Kopano-dev/kopano-ol-extension.git
synced 2023-10-10 13:37:40 +02:00
Added log entry and small cleanup to webapp kdiscover resolving
This commit is contained in:
parent
99a8e1f0bd
commit
57244e8be1
@ -123,10 +123,11 @@ namespace Acacia.Features.WebApp
|
||||
|
||||
// Find kdiscover
|
||||
string kdiscover = txt.FirstOrDefault((record) => record.StartsWith(TXT_KDISCOVER));
|
||||
Logger.Instance.Trace(this, "kdiscover: {0} -> {1}", account.Account.DomainName, kdiscover);
|
||||
if (string.IsNullOrEmpty(kdiscover))
|
||||
return null;
|
||||
|
||||
string url = kdiscover.Substring(TXT_KDISCOVER.Length + 1).Trim();
|
||||
string url = kdiscover.Substring(TXT_KDISCOVER.Length).Trim();
|
||||
if (string.IsNullOrWhiteSpace(url))
|
||||
return null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user