Skip to content

Commit

Permalink
Add a REQUEST case for vTodos.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Feb 5, 2015
1 parent 09f4491 commit 2d79e74
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions imp/lib/Mime/Viewer/Itip.php
Expand Up @@ -695,6 +695,15 @@ protected function _vTodo($vtodo, $id, $method)
$options['import'] = _("Add this to my tasklist");
}
break;

case 'REQUEST':
$desc = _("%s wishes to assign you \"%s\".");
if ($registry->hasMethod('tasks/import')) {
$options['accept-import'] = _("Accept and add this to my tasklist");
$options['import'] = _("Add this to my tasklist");
$options['deny'] = _("Deny task assignment");
}
break;
}

$view = $this->_getViewOb();
Expand Down

0 comments on commit 2d79e74

Please sign in to comment.