mirror of
https://github.com/Kopano-dev/kopano-ol-extension.git
synced 2023-10-10 13:37:40 +02:00
Changed display name of ZPush Accounts to the STMP address, as it defaulted to full name, which may be in multiple accounts
This commit is contained in:
parent
5b67b4c16f
commit
4b2795d7f4
@ -90,7 +90,7 @@ namespace Acacia.Features.DebugSupport
|
||||
// Add accounts
|
||||
foreach (ZPushAccount account in ThisAddIn.Instance.Watcher.Accounts.GetAccounts())
|
||||
{
|
||||
PropertyDescriptor p = new CustomPropertyDescriptor<ZPushAccount, DebugInfo>(account.DisplayName, DebugCategory.Accounts, account);
|
||||
PropertyDescriptor p = new CustomPropertyDescriptor<ZPushAccount, DebugInfo>(account.Account.DisplayName, DebugCategory.Accounts, account);
|
||||
properties.Add(p);
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,7 @@ namespace Acacia.ZPush
|
||||
[Browsable(false)]
|
||||
public IAccount Account { get { return _account; } }
|
||||
|
||||
public string DisplayName { get { return _account.DisplayName; } }
|
||||
public string DisplayName { get { return _account.SmtpAddress; } }
|
||||
public string DeviceId { get { return _account.DeviceId; } }
|
||||
|
||||
[Browsable(false)]
|
||||
|
Loading…
Reference in New Issue
Block a user