Skip to content

Commit

Permalink
Add missing RESPONSE_ORGANIZER setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 20, 2016
1 parent 69c6fe9 commit 1ebd4a8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kronolith/lib/Event.php
Expand Up @@ -1984,6 +1984,11 @@ public function toASAppointment(array $options = array())
if ($options['protocolversion'] > Horde_ActiveSync::VERSION_TWELVEONE &&
$message->getMeetingStatus() == Horde_ActiveSync_Message_Appointment::MEETING_IS_MEETING) {

// Are we the
if (empty($this->organizer) && $this->creator == $registry->getAuth()) {
$message->responsetype = Horde_ActiveSync_Message_Appointment::RESPONSE_ORGANIZER;
}

// We don't track the actual responses we sent to other's invitations.
// Set this based on the status flag.
switch ($this->status) {
Expand Down

0 comments on commit 1ebd4a8

Please sign in to comment.