[KOE-65] Removed MeetingRequest/FeatureMeetingRequest, as it turns out the issue was in WebApp.

This commit is contained in:
Patrick Simpson 2017-04-12 14:03:40 +02:00
parent e0e616e974
commit 7a31f1c9fb
3 changed files with 0 additions and 55 deletions

View File

@ -244,7 +244,6 @@
<Compile Include="Features\BCC\FeatureBCC.cs" />
<Compile Include="Features\FreeBusy\FreeBusyServlet.cs" />
<Compile Include="Features\FreeBusy\Servlet.cs" />
<Compile Include="Features\MeetingRequest\FeatureMeetingRequest.cs" />
<Compile Include="Features\SecondaryContacts\FeatureSecondaryContacts.cs" />
<Compile Include="Features\DebugSupport\AboutDialog.cs">
<SubType>Form</SubType>

View File

@ -37,7 +37,6 @@ namespace Acacia.Features
typeof(SecondaryContacts.FeatureSecondaryContacts),
typeof(SendAs.FeatureSendAs),
typeof(Signatures.FeatureSignatures),
typeof(MeetingRequest.FeatureMeetingRequest),
typeof(DebugSupport.FeatureDebugSupport),
typeof(SyncState.FeatureSyncState),
};

View File

@ -1,53 +0,0 @@
/// Copyright 2017 Kopano b.v.
///
/// This program is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Affero General Public License, version 3,
/// as published by the Free Software Foundation.
///
/// This program is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
/// GNU Affero General Public License for more details.
///
/// You should have received a copy of the GNU Affero General Public License
/// along with this program.If not, see<http://www.gnu.org/licenses/>.
///
/// Consult LICENSE file for details
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Acacia.Stubs;
using Acacia.Utils;
using Acacia.ZPush;
using Acacia.Features.SharedFolders;
using Acacia.ZPush.API.SharedFolders;
using static Acacia.DebugOptions;
namespace Acacia.Features.MeetingRequest
{
[AcaciaOption("Provides the ability to select different senders for Z-Push accounts.")]
public class FeatureMeetingRequest : Feature
{
public FeatureMeetingRequest()
{
}
public override void Startup()
{
if (MailEvents != null)
{
MailEvents.ItemSend.Register<IMeetingItem>(Meeting_ItemSend);
}
}
private void Meeting_ItemSend(IMeetingItem item, ref bool cancel)
{
byte[] uid = item.GlobalObjectId;
item.SetProperty(Constants.ZPUSH_MEETING_UID, uid.BytesToHex());
item.Save();
}
}
}