[KOE-61] Updated names for client capabilities

This commit is contained in:
Patrick Simpson 2017-01-18 10:34:45 +01:00
parent 0c7af26b6b
commit 7a4a534901
4 changed files with 14 additions and 1 deletions

View File

@ -237,6 +237,7 @@
<Compile Include="Controls\KUITask.cs" />
<Compile Include="Controls\KUIUtil.cs" />
<Compile Include="DebugOptions.cs" />
<Compile Include="Features\Contacts\FeatureContacts.cs" />
<Compile Include="Features\DebugSupport\AboutDialog.cs">
<SubType>Form</SubType>
</Compile>

View File

@ -65,7 +65,7 @@ namespace Acacia.Features
virtual public void GetCapabilities(ZPushCapabilities caps)
{
caps.Add(Name);
caps.Add(Name.ToLower());
}
#region Debug options

View File

@ -48,6 +48,12 @@ namespace Acacia.Features.OutOfOffice
Watcher.ZPushAccountChange += Watcher_ZPushAccountChange;
}
override public void GetCapabilities(ZPushCapabilities caps)
{
caps.Add("oof");
caps.Add("ooftime");
}
private static bool IsOOFEnabled(ActiveSync.SettingsOOF settings)
{
if (settings == null)

View File

@ -60,6 +60,12 @@ namespace Acacia.Features.ReplyFlags
}
}
override public void GetCapabilities(ZPushCapabilities caps)
{
caps.Add("receiveflags");
caps.Add("sendflags");
}
[AcaciaOption("Enables or disables the handling of update events to mail items. When a mail item is " +
"updated, it is checked to see if the reply flags are up to date. This is the main " +
"mechanism for updating reply flags that change on the server")]